Principle
hutrah miktzat Shabbat hutrah kulahהֻתְּרָה מִקְצָת שַׁבָּת הֻתְּרָה כֻּלָּהּ
HU-TRA MIK-TZAT SHA-BAT, HU-TRA KU-LAH
Permitted part of Shabbat, permitted all
A principle of legal momentum: what stood permitted when Shabbat began can carry that permission through the entire day, even after circumstances change mid-Shabbat. Its reach is debated. An eruv valid at nightfall is not undone by what happens to it later that day (Eruvin 3:4). For physical partitions Eruvin 9:3 records a dispute: Rabbi Yehudah holds that a courtyard breached on Shabbat stays permitted for the rest of that Shabbat, while Rabbi Yosei holds that what is forbidden for the future is forbidden for that Shabbat too.
Where it comes up
1 mishnah