Leviticus 25:23-34 NIV

23 “ ‘The land must not be sold permanently, because the land is mine and you reside in my land as foreigners and strangers.

References for Leviticus 25:23

24 Throughout the land that you hold as a possession, you must provide for the redemption of the land.

References for Leviticus 25:24

      25 “ ‘If one of your fellow Israelites becomes poor and sells some of their property, their nearest relative is to come and redeem what they have sold.

      References for Leviticus 25:25

      26 If, however, there is no one to redeem it for them but later on they prosper and acquire sufficient means to redeem it themselves,

      References for Leviticus 25:26

          27 they are to determine the value for the years since they sold it and refund the balance to the one to whom they sold it; they can then go back to their own property.

          References for Leviticus 25:27

              28 But if they do not acquire the means to repay, what was sold will remain in the possession of the buyer until the Year of Jubilee. It will be returned in the Jubilee, and they can then go back to their property.

              References for Leviticus 25:28

                  29 “ ‘Anyone who sells a house in a walled city retains the right of redemption a full year after its sale. During that time the seller may redeem it.
                  30 If it is not redeemed before a full year has passed, the house in the walled city shall belong permanently to the buyer and the buyer’s descendants. It is not to be returned in the Jubilee.
                  31 But houses in villages without walls around them are to be considered as belonging to the open country. They can be redeemed, and they are to be returned in the Jubilee.
                  32 “ ‘The Levites always have the right to redeem their houses in the Levitical towns, which they possess.

                  References for Leviticus 25:32

                  33 So the property of the Levites is redeemable—that is, a house sold in any town they hold—and is to be returned in the Jubilee, because the houses in the towns of the Levites are their property among the Israelites.
                  34 But the pastureland belonging to their towns must not be sold; it is their permanent possession.

                  References for Leviticus 25:34