Leviticus 25:23-34 - Redemption Of Property
23 ‘The land shall not be sold permanently, for the land is Mine; you are [only] foreigners and temporary residents with Me.
29 ‘If a man sells a house in a walled city, then his right of redemption remains valid for a full year after its sale; his right of redemption lasts a full year. 30 But if it is not redeemed for him within a full year, then the house that is in the walled city passes permanently and irrevocably to the purchaser throughout his generations. It does not revert back in the Year of Jubilee. 31 The houses of the villages that have no surrounding walls, however, shall be considered as open fields. They may be redeemed, and revert in the Year of Jubilee.
32 As for the cities of the Levites, the Levites have a permanent right of redemption for the houses in the cities which they possess. 33 Therefore, what is [purchased] from the Levites may be redeemed [by a Levite], and the house that was sold in the city they possess reverts in the Year of Jubilee, for the houses in the Levite cities are their [ancestral] property among the Israelites. 34 But the pasture lands of their cities may not be sold, for that is their permanent possession.