Leviticus 25:38–46
38 cI am the Lord your God, who brought you out of the land of Egypt to give you the land of Canaan, and to be your God.
39 d“If your brother becomes poor beside you and sells himself to you, you shall not make him serve as a slave: 40 he shall be with you as a hired worker and as a sojourner. He shall serve with you until the year of the jubilee. 41 vThen he shall go out from you, ehe and his children with him, and go back to his own clan and return fto the possession of his fathers. 42 For they are gmy servants,5 whom I brought out of the land of Egypt; they shall not be sold as slaves. 43 hYou shall not rule over him iruthlessly but jshall fear your God. 44 As for your male and female slaves whom you may have: you may buy male and female slaves from among the nations that are around you. 45 kYou may also buy from among the strangers who sojourn with you and their clans that are with you, who have been born in your land, and they may be your property. 46 You may bequeath them to your sons after you to inherit as a possession forever. You may make slaves of them, but over your brothers the people of Israel lyou shall not rule, one over another ruthlessly.