Leviticus 25:47-50 King James 2000 (KJ2000)

47. And if a sojourner or stranger becomes rich near you, and your brother that dwells near him becomes poor, and sells himself unto the stranger or sojourner near you, or to a member of the stranger's family:

48. After he is sold he may be redeemed again; one of his brethren may redeem him:

49. Either his uncle, or his uncle's son, may redeem him, or any that is near of kin unto him of his family may redeem him; or if he is able, he may redeem himself.

50. And he shall reckon with him that bought him from the year that he was sold to him unto the year of jubilee: and the price of his release shall be according unto the number of years, according to the time of a hired servant shall it be with him.

Leviticus 25