The Shulchan Aruch · Orach Chayim
אורח חיים שמ״זOrach Chayim 347
Siman 347 of 697 in Orach Chayim — 1 se'if
הלכות ערוביןLaws of Eruvin· siman 347
Se’if 1א׳
מִן הַתּוֹרָה אֵינוֹ חַיָּב אֶלָּא כְּשֶׁעוֹקֵר חֵפֶץ מֵרְשׁוּת הַיָּחִיד וּמַנִּיחוֹ בִּרְשׁוּת הָרַבִּים, אוֹ אִיפְּכָא, אֲבָל פָּשַׁט יָדוֹ לְפָנִים, וְחֵפֶץ בְּיָדוֹ, וּנְטָלוֹ חֲבֵרוֹ הָעוֹמֵד בִּפְנִים, אוֹ שֶׁפָּשַׁט יָדוֹ לַחוּץ וְחֵפֶץ בְּיָדוֹ וּנְטָלוֹ חֲבֵרוֹ הָעוֹמֵד בַּחוּץ, שֶׁזֶּה עָקַר וְזֶה הִנִּיחַ, שְׁנֵיהֶם פְּטוּרִים אֲבָל אָסוּר לַעֲשׂוֹת כֵּן מִדְּרַבָּנָן. וְאִם פָּשַׁט יָדוֹ לְפָנִים וְחֵפֶץ בְּיָדוֹ וְהִנִּיחוֹ לְתוֹךְ יַד חֲבֵרוֹ הָעוֹמֵד בִּפְנִים, אוֹ שֶׁפָּשַׁט יָדוֹ לְפָנִים וְנָטַל חֵפֶץ מִתּוֹךְ יַד חֲבֵרוֹ הָעוֹמֵד בִּפְנִים וְהוֹצִיאוֹ לַחוּץ, שֶׁנִּמְצָא שֶׁהָעוֹמֵד בַּחוּץ לְבַדּוֹ עָקַר וְהִנִּיחַ, הוּא חַיָּב וַחֲבֵרוֹ פָּטוּר אֲבָל אָסוּר, וַאֲפִלּוּ אִם הָעוֹמֵד בַּחוּץ הוּא עַכּוּ"ם, אָסוּר מִפְּנֵי שֶׁהוּא כְּנוֹתְנוֹ עַל מְנַת לְהוֹצִיא. וְהוּא הַדִּין לְהוֹצִיא יָדוֹ לַחוּץ וְהִנִּיחוֹ בְּיַד חֲבֵרוֹ הָעוֹמֵד בַּחוּץ, אוֹ שֶׁנָּטַל מִיַּד חֲבֵרוֹ הָעוֹמֵד בַּחוּץ, וְהִכְנִיס בִּפְנִים, שֶׁהָעוֹמֵד בִּפְנִים חַיָּב שֶׁהוּא עָקַר, וְהָעוֹמֵד בַּחוּץ פָּטוּר אֲבָל אָסוּר.
The Transferring for Which One is Made Liable By the Torah: The Torah only makes one liable for removing an object from the private domain and placing it in the public domain, or the reverse. However, if one extends his hand into the domain with an object in it, and his friend is inside the domain and takes [the object], or if one extends his hand out of the domain with an object in it and his friend standing outside the domain takes it, where one removes and the other places, both are exempt, but it is rabbinically forbidden to do such. If one extends his hand into the domain and grabs an object from the hand of his friend who stands inside and removes the object, such that the person standing outside removed and placed by himself, he is liable and his friend is exempt but still forbidden from doing such. And even if the person standing outside is a non-Jew, this is forbidden, because it is as if you give it to him on the condition that he remove it [from the domain]. This is also the case regarding one who places his hand outside the domain and hands the object to his friend standing outside, or one who takes an object from a friend standing outside the domain and brings the object inside; in both cases, the person standing inside is liable because he both removed and placed, and the person standing outside is exempt, but his actions are forbidden.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0