Leviticus 25:30-31

30 If it is not redeemed within a full year, then the house in the walled city shall belong in perpetuity to the buyer, throughout his generations; a it shall not be released in the jubilee. 31 But the houses of the villages that have no wall around them shall be classified with the fields of the land. They may be redeemed, and b they shall be released in the jubilee.
Copyright information for ESV