Leviticus 25:24-34

25:24 In all your landed property you must provide for the right of redemption of the land.

25:25 “‘If your brother becomes impoverished and sells some of his property, his near redeemer is to come to you and redeem what his brother sold. 25:26 If a man has no redeemer, but he prospers and gains enough for its redemption, 25:27 he is to calculate the value of the years it was sold, refund the balance to the man to whom he had sold it, and return to his property. 25:28 If he has not prospered enough to refund a balance to him, then what he sold will belong to the one who bought it until the jubilee year, but it must revert in the jubilee and the original owner may return to his property.

Release of Houses

25:29 “‘If a man sells a residential house in a walled city, its right of redemption must extend until one full year from its sale; its right of redemption must extend to a full calendar year. 25:30 If it is not redeemed before the full calendar year is ended, the house in the walled city will belong without reclaim to the one who bought it throughout his generations; it will not revert in the jubilee. 25:31 The houses of villages, however, which have no wall surrounding them must be considered as the field of the land; they will have the right of redemption and must revert in the jubilee. 25:32 As for the cities of the Levites, the houses in the cities which they possess, the Levites must have a perpetual right of redemption. 25:33 Whatever someone among the Levites might redeem – the sale of a house which is his property in a city – must revert in the jubilee, because the houses of the cities of the Levites are their property in the midst of the Israelites. 25:34 Moreover, the open field areas of their cities must not be sold, because that is their perpetual possession.