Leviticus 25
24 Ref In all the land of your possession you shall grant a redemption for the land.
25 Ref "'If your brother becomes poor, and sells some of his possessions, then his kinsman who is next to him shall come, and redeem that which his brother has sold.
26 Ref If a man has no one to redeem it, and he becomes prosperous and finds sufficient means to redeem it;
27 then let him reckon the years since the sale of it, and restore the surplus to the man to whom he sold it; and he shall return to his property.
28 Ref But if he isn't able to get it back for himself, then what he has sold shall remain in the hand of him who has bought it until the Year of Jubilee: and in the Jubilee it shall be released, and he shall return to his propery.