Don't oppress an immigrant. You know what it's like to be an immigrant, because you were immigrants in the land of Egypt.
For six years you should plant crops on your land and gather in its produce.
References for Exodus 23:10
But in the seventh year you should leave it alone and undisturbed so that the poor among your people may eat. What they leave behind, the wild animals may eat. You should do the same with your vineyard and your olive trees.
Do your work in six days. But on the seventh day you should rest so that your ox and donkey may rest, and even the child of your female slave and the immigrant may be refreshed.
Be careful to obey everything that I have said to you. Don't call on the names of other gods. Don't even mention them.
You should observe a festival for me three times a year.
Observe the Festival of Unleavened Bread, as I commanded you. Eat unleavened bread for seven days at the appointed time in the month of Abib, because it was in that month that you came out of Egypt. No one should appear before me empty-handed.
References for Exodus 23:15
Observe the Harvest Festival for the early produce of your crops that you planted in the field, and the Gathering Festival at the end of the year, when you gather your crop of fruit from the field.
All your males should appear three times a year before the LORD God.
Don't offer the blood of my sacrifice with anything leavened. Don't let the fat of my festival offering be left over until the morning.
Bring the best of your land's early produce to the LORD your God's temple. Don't boil a young goat in its mother's milk.