Leviticus 25:29-31

ERV(i) 29 And if a man sell a dwelling house in a walled city, then he may redeem it within a whole year after it is sold; for a full year shall he have the right of redemption. 30 And if it be not redeemed within the space of a full year, then the house that is in the walled city shall be made sure in perpetuity to him that bought it, throughout his generations: it shall not go out in the jubile. 31 But the houses of the villages which have no wall round about them shall be reckoned with the fields of the country: they may be redeemed, and they shall go out in the jubile.