Deut 5:14-15

14But the seventh day is a sabbath to the Lord your God; you shall not do any work—you, or your son or your daughter, or your male or female slave, or your ox or your donkey, or any of your livestock, or the resident alien in your towns, so that your male and female slave may rest as well as you.15Remember that you were a slave in the land of Egypt, and the Lord your God brought you out from there with a mighty hand and an outstretched arm; therefore the Lord your God commanded you to keep the sabbath day.