Leviticus 25:30-32 World English Bible (WEB)

30. If it isn’t 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 who bought it, throughout his generations. It shall not be released in the Jubilee.

31. But the houses of the villages which have no wall around them shall be accounted for with the fields of the country: they may be redeemed, and they shall be released in the Jubilee.

32. “‘Nevertheless the cities of the Levites, the houses in the cities of their possession, the Levites may redeem at any time.

Leviticus 25