23 The land shall not be sold in perpetuity, for the land is mine; with me you are but aliens and tenants. 24 Throughout the land that you hold, you shall provide for the redemption of the land. 25 If 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. 26 If the person has no one to redeem it, but then prospers and finds sufficient means to do so, 27 the 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. 28 But if there are 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. 29 If 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. 30 If 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. 31 But 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. 32 As for the cities of the Levites, the Levites shall forever have the right of redemption of the houses in the cities belonging to them. 33 Such 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. 34 But the open land around their cities may not be sold; for that is their possession for all time.

Matthew Henry's Commentary on Leviticus 25:23-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.