Bava Basra4: 1
הַמּוֹכֵר אֶת הַבַּיִת — לֹא מָכַר הַיָּצִיעַ, וְאַף עַל פִּי שֶׁהִיא פְתוּחָה לְתוֹכוֹ; וְלֹא אֶת הַחֶדֶר שֶׁלִּפְנִים מִמֶּנּוּ; וְלֹא אֶת הַגַּג בִּזְמַן שֶׁיֶּשׁ לוֹ מַעֲקֶה גָבוֹהַּ עֲשָׂרָה טְפָחִים. רַבִּי יְהוּדָה אוֹמֵר: אִם יֶשׁ לוֹ צוּרַת פֶּתַח, אַף עַל פִּי שֶׁאֵינוֹ גָבוֹהַּ עֲשָׂרָה טְפָחִים — אֵינוֹ מָכוּר.
One who sells a house has not sold the annex, even though it opens into it; nor the room which is to the rear of [the house]; nor the roof when it has a parapet ten handbreadths high. R' Yehudah says: If it has a doorway, even if it is not ten handbreadths high, it is not included in the sale.