The Talmud
שַׁבָּת דף ט׳Shabbat 9a
Amud a of Shabbat 9 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Shabbat 9a · שבת ט׳ א
דרך עליו חייב התם לא נח הכא נח:
— over such a place, is liable. — There it did not come to rest; here it came to rest.
אחרים אומרים אסקופה משמשת שתי רשויות בזמן שהפתח פתוח כלפנים פתח נעול כלחוץ
"Others say: a threshold serves two domains — when the doorway is open it is as within, when the doorway is locked it is as without."
ואף על גב דלית ליה לחי והאמר רב חמא בר גוריא אמר רב תוך הפתח צריך לחי אחר להתירו
And is this so even though it has no side-post? But surely Rav Chama bar Gurya said in the name of Rav: the space within the doorway itself needs a further side-post to permit it.
וכי תימא דלית ביה ד' על ד' והאמר רב חמא בר גוריא אמר רב תוך הפתח אע"פ שאין בו ד' על ד' צריך לחי אחר להתירו
And if you say that it is not four by four — but surely Rav Chama bar Gurya said in the name of Rav: the space within the doorway, even though it is not four by four, needs a further side-post to permit it.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.