The Talmud
עירובין דף ע׳Eruvin 70b
Amud b of Eruvin 70 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Eruvin 70b · עירובין ע׳ ב
היכא דאי בעי לערובי מאתמול מצי מערב בטולי נמי מצי מבטל אבל האי כיון דאי בעי לערובי מאתמול לא מצי מערב לא מצי מבטל
Where, had he wished to make an eruv yesterday, he could have made one, he can also renounce; but this one, since had he wished to make an eruv yesterday he could not have made one, he cannot renounce.
או דלמא יורש כרעיה דאבוה הוא
Or perhaps an heir is his father's leg — he stands in his father's stead.
א"ל אני אומר מבטל והני דבי שמואל תנו אין מבטל איתיביה זה הכלל כל שמותר למקצת שבת הותר לכל השבת וכל שנאסר למקצת שבת נאסר לכל השבת חוץ ממבטל רשות
He said to him: I say he renounces; but those of the school of Shmuel taught: he does not renounce. He raised an objection against him: this is the rule — whatever is permitted for part of the Sabbath is permitted for the whole of the Sabbath, and whatever is forbidden for part of the Sabbath is forbidden for the whole of the Sabbath, except for one who renounces his domain.
כל שהותר למקצת שבת מותר לכל השבת כגון עירב דרך הפתח ונסתם הפתח עירב דרך חלון ונסתם חלון
"Whatever is permitted for part of the Sabbath is permitted for the whole of the Sabbath": such as where he made an eruv by way of the doorway and the doorway was stopped up, or made an eruv by way of the window and the window was stopped up.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.