Remember the sabbath day and keep it holy. Six days you shall labor and do all your work, but the seventh day is a sabbath of the LORD your God: you shall not do any work—you, your son or daughter, your male or female slave, or your cattle, or the stranger who is within your settlements. For in six days the LORD made heaven and earth and sea, and all that is in them, and He rested on the seventh day; therefore the LORD blessed the sabbath day and hallowed it.
Exodus 20:8-11
Six days you shall do your work, but on the seventh day you shall cease from labor, in order that your ox and your ass may rest, and that your bondman and the stranger may be refreshed.
Exodus 23:12