Lev 25:23-34

23The land shall not be sold in perpetuity, for the land is mine; with me you are but aliens and tenants.24Throughout the land that you hold, you shall provide for the redemption of the land.25If anyone of your kin falls into difficulty and sells a piece of property, then the next of kin shall come and redeem what the relative has sold.26If the person has no one to redeem it, but then prospers and finds sufficient means to do so,27the years since its sale shall be computed and the difference shall be refunded to the person to whom it was sold, and the property shall be returned.28But if there is not sufficient means to recover it, what was sold shall remain with the purchaser until the year of jubilee; in the jubilee it shall be released, and the property shall be returned.29If anyone sells a dwelling house in a walled city, it may be redeemed until a year has elapsed since its sale; the right of redemption shall be one year.30If it is not redeemed before a full year has elapsed, a house that is in a walled city shall pass in perpetuity to the purchaser, throughout the generations; it shall not be released in the jubilee.31But houses in villages that have no walls around them shall be classed as open country; they may be redeemed, and they shall be released in the jubilee.32As for the cities of the Levites, the Levites shall forever have the right of redemption of the houses in the cities belonging to them.33Such property as may be redeemed from the Levites—houses sold in a city belonging to them—shall be released in the jubilee; because the houses in the cities of the Levites are their possession among the people of Israel.34But the open land around their cities may not be sold; for that is their possession for all time.