Bava Basra4: 7
הַמּוֹכֵר אֶת הָעִיר — מָכַר בָּתִּים, בּוֹרוֹת, שִׁיחִין, וּמְעָרוֹת, מֶרְחֲצָאוֹת וְשׁוֹבָכוֹת, בֵּית הַבַּדִּין, וּבֵית הַשְּׁלָחִין; אֲבָל לֹא אֶת הַמִּטַּלְטְלִין. וּבִזְמַן שֶׁאָמַר לוֹ: ,,הִיא וְכָל מַה שֶּׁבְּתוֹכָהּ” — אֲפִלּוּ הָיוּ בָהּ בְּהֵמָה וַעֲבָדִים, הֲרֵי כֻלָּן מְכוּרִין. רַבָּן שִׁמְעוֹן בֶּן גַּמְלִיאֵל אוֹמֵר: הַמּוֹכֵר אֶת הָעִיר — מָכַר אֶת הַסַּנְטֵר.
One who sells a town has sold the houses, pits, ditches, vaults, bathhouses, dovecotes, olive presses, and irrigated fields; but not the movables. When he said to him, “It, and all that is in it,” even if there were cattle and slaves in it, they are all sold. Rabban Shimon ben Gamliel says: One who sells a town has sold the sentry.