Leviticus 25:23-28 New International Version - UK (NIVUK)
23 ‘“The land must not be sold permanently, because the land is mine and you reside in my land as foreigners and strangers. 24 Throughout the land that you hold as a possession, you must provide for the redemption of the land.
25 ‘“If one of your fellow Israelites becomes poor and sells some of their property, their nearest relative is to come and redeem what they have sold. 26 If, however, there is no one to redeem it for them but later on they prosper and acquire sufficient means to redeem it themselves, 27 they are to determine the value for the years since they sold it and refund the balance to the one to whom they sold it; they can then go back to their own property. 28 But if they do not acquire the means to repay, what was sold will remain in the possession of the buyer until the Year of Jubilee. It will be returned in the Jubilee, and they can then go back to their property.