Leviticus 25:31 NIV

31 But houses in villages without walls around them are to be considered as open country. They can be redeemed, and they are to be returned in the Jubilee.