Deuteronomy 24:17-25:4

17You shall not deprive a resident alien or an orphan of justice; you shall not take a widow’s garment in pledge. 18Remember that you were a slave in Egypt and the Lord your God redeemed you from there; therefore I command you to do this. 19When you reap your harvest in your field and forget a sheaf in the field, you shall not go back to get it; it shall be left for the alien, the orphan, and the widow, so that the Lord your God may bless you in all your undertakings. 20When you beat your olive trees, do not strip what is left; it shall be for the alien, the orphan, and the widow. 21When you gather the grapes of your vineyard, do not glean what is left; it shall be for the alien, the orphan, and the widow. 22Remember that you were a slave in the land of Egypt; therefore I am commanding you to do this.

25Suppose two persons have a dispute and enter into litigation, and the judges decide between them, declaring one to be in the right and the other to be in the wrong. 2If the one in the wrong deserves to be flogged, the judge shall make that person lie down and be beaten in his presence with the number of lashes proportionate to the offense. 3Forty lashes may be given but not more; if more lashes than these are given, your neighbor will be degraded in your sight. 4You shall not muzzle an ox while it is treading out the grain.

From the oremus Bible Browser https://bible.oremus.org v2.9.2 30 June 2021.