GEMARA: Rabbi Aḥa [and] Rabbi Ḥinena in the name of Kahana: The halakha is not according to
Rabbi Yehuda. Rabbi Abba bar Pappai asked: How did
Rabbi Meir treat the wall—as cut down or as perforated? If you say as cut down, even above ten it is permitted. If you say as perforated, even below ten it is forbidden. A doorway of roofs that has a gatehouse:
[if it is] inside, he opens and locks inside; outside, he opens and locks outside; on this side and on that side, he opens and locks on this side and on that side. Neither on this side nor on that side—he takes the key, opens and locks, and puts it back in its place. In what case are these words said? When the lock is above ten handbreadths. But if the lock was below ten handbreadths, he takes the key from within the threshold, opens and locks, and puts it back in its place—the words of
Rabbi Meir. But the Rabbis say: Even if the lock is above ten handbreadths, he brings the key on Shabbat eve, opens and enters, carries it inside the house, locks, and places it in the hole above the lintel. If the hole was four handbreadths, it is forbidden, for one may not use
[things] from domain to domain by way of a domain. This says that
Rabbi Yehuda treated it as cut down. Granted, inside, it needs a gatehouse; outside, it needs a gatehouse—would not two domains be found using one domain?
הלכה: פיס׳. רבי אחא רבי חיננה בשם כהנא. אין הלכה כרבי יודה. רבי אבא בר פפי בעי. למה עבד רבי מאיר את הכותל. כגמום כנקוב. אין תימר כגמום. אפילו למעלה מעשרה מותר. אין תימר כנקוב. אפילו למטה מעשרה אסור. פתח גגות שיש להן בית שער. מבפנים פותח ונועל מבפנים. מבחוץ פותח ונועל מבחוץ. מיכן ומיכן פותח ונועל מיכן ומיכן. לא מיכן ולא מיכן הרי זה נוטל את המפתח ופותח ונועל ומניחו במקומו. במה דברים אמורים. בזמן שהמנעול למעלה מעשרה טפחים. אבל אם היה המנעול למטה מעשרה טפחים. הרי זה נוטל את המפתח מתוך האסקופה ופותח ונועל ומניחו במקומו. דברי רבי מאיר. וחכמים אומרים. אף על פי שהמנעול למעלה מעשרה טפחים מביא המפתח מערב שבת ופותח ונכנס ומטלטלו בתוך הבית ונועל ונותנו בחור למעלה מן המשקוף. אם היה החור שלארבעה טפחים אסור. שאין משתמשין מרשות לרשות דרך רשות. הדא אמרה. כגמום עבד לה רבי יודה. ניחא מבפנים צריך בית שער. מבחוץ צריך בית שער. לא נמצאו שתי רשויות משתמשות ברשות אחת.