Deuteronomy 24:18-22

24:18 Remember that you were slaves in Egypt and that the Lord your God redeemed you from there; therefore I am commanding you to do all this. 24:19 Whenever you reap your harvest in your field and leave some unraked grain there, you must not return to get it; it should go to the resident foreigner, orphan, and widow so that the Lord your God may bless all the work you do. 24:20 When you beat your olive tree you must not repeat the procedure; the remaining olives belong to the resident foreigner, orphan, and widow. 24:21 When you gather the grapes of your vineyard you must not do so a second time; they should go to the resident foreigner, orphan, and widow. 24:22 Remember that you were slaves in the land of Egypt; therefore, I am commanding you to do all this.