Leviticus 25:23-28
View Full Chapter23“ ‘The land must not be sold permanently, because the land is mine and you reside in my land as foreigners and strangers.
24Throughout 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. 26If, however, there is no one to redeem it for them but later on they prosper and acquire sufficient means to redeem it themselves, 27they 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.
28But 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.