25 "If one of your brothers becomes poor and has to sell any of his land, his nearest relative is to come and buy back what his brother sold. 26 If a man has no one to redeem it but he later prospers and earns enough for its redemption, 27 he is to calculate the value since he sold it and refund the balance to the man to whom he sold it; he can then go back to his own land. 28 If he doesn't get together enough money to repay him, what he sold remains in the possession of the buyer until the year of Jubilee. In the Jubilee it will be returned and he can go back and live on his land. 29 "If a man sells a house in a walled city, he retains the right to buy it back for a full year after the sale. At any time during that year he can redeem it. 30 But if it is not redeemed before the full year has passed, it becomes the permanent possession of the buyer and his descendants. It is not returned in the Jubilee.
Matthew Henry's Commentary on Leviticus 25:25-30
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.