Leviticus 25:39-42 King James Version (KJV)
39 And if thy brother that dwelleth by thee be waxen poor, and be sold unto thee; thou shalt not compel him to serve as a bondservant:
40 But as an hired servant, and as a sojourner, he shall be with thee, and shall serve thee unto the year of jubile.
41 And then shall he depart from thee, both he and his children with him, and shall return unto his own family, and unto the possession of his fathers shall he return.
42 For they are my servants, which I brought forth out of the land of Egypt: they shall not be sold as bondmen.