Deuteronomy 24:20

When thou beatest thine olive tree, thou shalt not go over the boughs again: it shall be for the stranger, for the fatherless, and for the widow.

Cross-reference

Deuteronomy 24:20 extends the same gleaning command to olive harvesting — identical principle for a different crop.