The Shulchan Aruch · Orach Chayim
אורח חיים שנ״וOrach Chayim 356
Siman 356 of 697 in Orach Chayim — 2 se'ifim
הלכות ערוביןLaws of Eruvin· siman 356
Se’if 1א׳
אַמַּת הַמַּיִם הָעוֹבֶרֶת בֶּחָצֵר, עֲמֻקָּה עֲשָׂרָה וּרְחָבָה אַרְבָּעָה, אֵין מְמַלְּאִין מִמֶּנָּה בְּשַׁבָּת, אֶלָּא אִם כֵּן עָשׂוּ לָהּ מְחִצָּה גָּבוֹהַּ עֲשָׂרָה בִּכְנִיסָתָהּ וּבִיצִיאָתָהּ, וְיִהְיֶה טֶפַח מִמֶּנָּה מְשֻׁקָּע בַּמַּיִם, וְאִם הָיְתָה הַמְּחִצָּה כֻּלָּהּ יוֹרֶדֶת בְּתוֹךְ הַמַּיִם צָרִיךְ שֶׁיִּהְיֶה טֶפַח מִמֶּנָּה יוֹצֵא לְמַעְלָה מִן הַמַּיִם, וְאִם הִתְחִיל לַעֲשׂוֹת הַמְּחִצָּה אֵצֶל הַשָּׂפָה מִכָּל צַד וְלֹא חִבֵּר אוֹתָהּ בָּאֶמְצַע כְּדֵי שֶׁיִּהְיוּ הַמַּיִם נִכְנָסִים וְיוֹצְאִים דֶּרֶךְ שָׁם, אִם אֵין בֵּינֵיהֶם ג' טְפָחִים, שָׁרֵי דְּאָמְרִינַן לָבוּד; יֵשׁ בֵּינֵיהֶם ג' טְפָחִים, אָסוּר. הַגָּה: וְאִם הַנְּקָבִים שֶׁהָאַמָּה נִכְנָס וְיוֹצֵא בָּהֶם אֵינָם (רְחָבִים) ג', אֲפִלּוּ מְחִצָּה אֵינוֹ צָרִיךְ (בֵּית יוֹסֵף בְּשֵׁם ריטב"א).
The Law of a Stream of Water that Runs through a Yard, 2 Seifim: If a stream of water passes through a yard and it is ten [tefachim] deep and four wide, we do not collect water from it on Shabbat unless a ten tefachim tall wall is made at its entrance and exit. At least one tefach of the wall must be underwater. If the whole wall is underwater, at least one tefach must be above the water. If one started to make a wall from the sides of the stream but did not connect the walls so that water can still flow, if there are three tefachim between the sides, this is allowed, and we consider it attached. If there are three tefachim between the sides, it is forbidden. RAMA: If the holes in which the stream enters and exit are not three wide, even a wall is unnecessary (Beit Yosef in the name of the Ritva).
Se’if 2ב׳
חָצֵר שֶׁנִּפְרְצָה וּלְשׁוֹן יָם עוֹבֵר עַל הַפִּרְצָה, אִם אֵינוֹ בְּמִלּוּאוֹ וְאֵין בַּפִּרְצָה יוֹתֵר מִי', מֻתָּר לְמַלְּאוֹת מִמֶּנּוּ וּלְהַכְנִיס לַבַּיִת. נִפְרְצָה בְּמִלּוּאָה, אוֹ שֶׁיֵּשׁ בַּפִּרְצָה יוֹתֵר מִי', אִם נִשְׁאַר בַּמָּקוֹם שֶׁנִּפְרַץ גִּדּוּדִים גְּבוֹהִים י', וְהַמַּיִם מְכַסִים אוֹתוֹ מֻתָּר לְמַלְּאוֹת מִמֶּנּוּ בֶּחָצֵר אֲבָל אָסוּר לְהַכְנִיסָן לַבַּיִת, אֶלָּא אִם כֵּן עָשׂוּ מְחִצָּה גָּבוֹהַּ עֲשָׂרָה עַל הַמַּיִם. לֹא נִשְׁאַר גִּדּוּדִים, אָסוּר אֲפִלּוּ לְמַלְּאוֹת בֶּחָצֵר.
If a yard is breached, the sea enters through the breach, it is only partially breached, and the hole is wider than ten [tefachim], one is permitted to use the water and bring it into his house. If it is fully breached or the hole is wider than ten, if parts of the wall remain where it fell, and those parts are taller than ten but covered by water, he can use the water in the yard but it is forbidden to bring it into his house unless he made a ten-tefach tall wall. If no parts of the wall remain, it is even forbidden to use the water.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0