31 But a house in a village-a settlement without fortified walls-will be treated like property in the countryside. Such a house may be bought back at any time, and it must be returned to the original owner in the Year of Jubilee. 32 "The Levites always have the right to buy back a house they have sold within the towns allotted to them. 33 And any property that is sold by the Levites-all houses within the Levitical towns-must be returned in the Year of Jubilee. After all, the houses in the towns reserved for the Levites are the only property they own in all Israel. 34 The open pastureland around the Levitical towns may never be sold. It is their permanent possession.

Matthew Henry's Commentary on Leviticus 25:31-34

Commentary on Leviticus 25:23-34

(Read Leviticus 25:23-34)

If the land were not redeemed before the year of jubilee, it then returned to him that sold or mortgaged it. This was a figure of the free grace of God in Christ; by which, and not by any price or merit of our own, we are restored to the favour of God. Houses in walled cities were more the fruits of their own industry than land in the country, which was the direct gift of God's bounty; therefore if a man sold a house in a city, he might redeem it only within a year after the sale. This encouraged strangers and proselytes to come and settle among them.