Deuteronomy 24:21-22 English Standard Version (ESV)

21. When you gather the grapes of your vineyard, you shall not strip it afterward. It shall be for the sojourner, the fatherless, and the widow.

22. You shall remember that you were a slave in the land of Egypt; therefore I command you to do this.

Deuteronomy 24