Leviticus 25:29-34 - Release Of Houses
29 And if a man sells a dwelling house in a walled city, then he may redeem it within a whole year after it is sold. He may redeem it within a full year. 30 And if it is not redeemed within the time of a full year, then the house in the walled city shall be made sure forever to its buyer throughout his generations. It shall not go out in the jubilee. 31 But the houses of the villages which have no walls around them shall be counted as the field of the country. They may be redeemed, and they shall go out in the jubilee.
32 As to the cities of the Levites, the houses of the cities of their possession, the Levites shall have a never-ending redemption. 33 And if a man purchases a house from the Levites, then the house that was sold and the city of his possession shall go out in the year of jubilee. For the houses of the cities of the Levites are their possession among the sons of Israel. 34 But the field of the open land of their cities may not be sold, for it is theirs forever.