Leviticus 25:39 - 25:55
39 ‘If a brother of yours becomes so poor with regard to you that he sells himself to you, you shall not subject him to a slave’s service. 40 He shall be with you as a hired man, as if he were a foreign resident; he shall serve with you until the year of jubilee. 41 He shall then go out from you, he and his sons with him, and shall return to his family, that he may return to the possession of the land of his fathers. 42 For they are My slaves whom I brought out from the land of Egypt; they shall not be sold in a slave sale. 43 You shall not have dominion over him with brutality, but you shall fear your God. 44 As for your male and female slaves whom you may have—you may acquire male and female slaves from the nations that are around you. 45 And also you may acquire from the sons of the foreign residents who sojourn among you, from them and their families who are with you; as for those whom they have begotten in your land, they also may become your possession. 46 You may even give them as an inheritance to your sons after you, to receive as a possession; you can use them as permanent slaves. But in respect to your brothers, the sons of Israel, you shall not have dominion over one another with brutality.
Kindness Toward a Poor Sojourner47 ‘Now if the means of a sojourner or of a foreign resident with you becomes sufficient, and a brother of yours becomes so poor with regard to him as to sell himself to a sojourner who resides with you or to the descendants of a sojourner’s family, 48 then he shall have redemption right after he has been sold. One of his brothers may redeem him, 49 or his uncle or his uncle’s son may redeem him, or one of his blood relatives from his family may redeem him; or if he prospers, he may redeem himself. 50 He then with his purchaser shall calculate from the year when he sold himself to him up to the year of jubilee; and the price of his sale shall correspond to the number of years. It is like the days of a hired man that he shall be with him. 51 If there are still many years, he shall return part of his purchase price in proportion to them for his own redemption; 52 and if few years remain until the year of jubilee, he shall so calculate with him. In proportion to his years he shall return the amount for his redemption. 53 Like a man hired year by year he shall be with him; he shall not have dominion over him with brutality in your sight. 54 Even if he is not redeemed by these means, he shall still go out in the year of jubilee, he and his sons with him. 55 For the sons of Israel are My slaves; they are My slaves whom I brought out from the land of Egypt. I am Yahweh your God.