Leviticus 25
29 And if a man gives his house in a walled town for money, he has the right to get it back for the space of a full year after he has given it up.
30 And if he does not get it back by the end of the year, then the house in the town will become the property of him who gave the money for it, and of his children for ever; it will not go from him in the year of Jubilee.
31 Ref But houses in small unwalled towns will be the same as property in the country; they may be got back, and they will go back to their owners in the year of Jubilee.