23 The land shall not be sold in perpetuity, for the land is mine; for you are strangers and sojourners with me. 24 And in all the country you possess, you shall grant a redemption of the land. 25 "If your brother becomes poor, and sells part of his property, then his next of kin shall come and redeem what his brother has sold. 26 If a man has no one to redeem it, and then himself becomes prosperous and finds sufficient means to redeem it, 27 let him reckon the years since he sold it and pay back the overpayment to the man to whom he sold it; and he shall return to his property. 28 But if he has not sufficient means to get it back for himself, then what he sold shall remain in the hand of him who bought it until the year of jubilee; in the jubilee it shall be released, and he shall return to his property. 29 "If a man sells a dwelling house in a walled city, he may redeem it within a whole year after its sale; for a full year he shall have the right of redemption. 30 If it is not redeemed within a full year, then the house that is in the walled city shall be made sure in perpetuity to him who bought it, throughout his generations; it shall not be released in the jubilee. 31 But the houses of the villages which have no wall around them shall be reckoned with the fields of the country; they may be redeemed, and they shall be released in the jubilee. 32 Nevertheless the cities of the Levites, the houses in the cities of their possession, the Levites may redeem at any time. 33 And if one of the Levites does not exercise his right of redemption, then the house that was sold in a city of their possession shall be released in the jubilee; for the houses in the cities of the Levites are their possession among the people of Israel. 34 But the fields of common land belonging to their cities may not be sold; for that is their perpetual possession.

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.