Leviticus 25:40-43

MLV(i) 40 He will be with you as a hired servant and as a traveler. He will serve with you to the year of jubilee. 41 Then he will go out from you, he and his sons with him and will return to his own family. And he will return to the possession of his fathers. 42 For they are my servants, whom I brought forth out of the land of Egypt. They will not be sold as bondmen. 43 You will not rule over him with rigor, but will fear your God.