Exodus 23:2-12

2 You shall not follow a majority in wrongdoing; when you bear witness in a lawsuit, you shall not side with the majority so as to pervert justice;
3 nor shall you be partial to the poor in a lawsuit.
4 When you come upon your enemy's ox or donkey going astray, you shall bring it back
5 When you see the donkey of one who hates you lying under its burden and you would hold back from setting it free, you must help to set it free.
6 You shall not pervert the justice due to your poor in their lawsuits.
7 Keep far from a false charge, and do not kill the innocent and those in the right, for I will not acquit the guilty.
8 You shall take no bribe, for a bribe blinds the officials, and subverts the cause of those who are in the right.
9 You shall not oppress a resident alien; you know the heart of an alien, for you were aliens in the land of Egypt.
10 For six years you shall sow your land and gather in its yield;
11 but the seventh year you shall let it rest and lie fallow, so that the poor of your people may eat; and what they leave the wild animals may eat. You shall do the same with your vineyard, and with your olive orchard.
12 Six days you shall do your work, but on the seventh day you shall rest, so that your ox and your donkey may have relief, and your homeborn slave and the resident alien may be refreshed.