Leviticus 25:23-31 New American Bible (Revised Edition) (NABRE)
23 The land shall not be sold irrevocably; for the land is mine, and you are but resident aliens and under my authority. 24 Therefore, in every part of the country that you occupy, you must permit the land to be redeemed. 25 When one of your kindred is reduced to poverty and has to sell some property, that person’s closest relative,[a] who has the duty to redeem it, shall come and redeem what the relative has sold. 26 If, however, the person has no relative to redeem it, but later on acquires sufficient means to redeem it, 27 the person shall calculate the years since the sale, return the balance to the one to whom it was sold, and thus regain the property. 28 But if the person does not acquire sufficient means to buy back the land, what was sold shall remain in the possession of the purchaser until the year of the jubilee, when it must be released and returned to the original owner.
29 [b]When someone sells a dwelling in a walled town, it can be redeemed up to a full year after its sale—the redemption period is one year. 30 But if such a house in a walled town has not been redeemed at the end of a full year, it shall belong irrevocably to the purchaser throughout the generations; it shall not be released in the jubilee. 31 However, houses in villages that are not encircled by walls shall be reckoned as part of the surrounding farm land; they may be redeemed, and in the jubilee they must be released.