Shulchan Aruch HaRav · 2 Clauses
שֻׁלְחָן עָרוּךְ הָרַב · 2 סְעִיפִים
When there are] three houses [located] between two courtyards1 and [the houses and the courtyards all] open up to each other, should [the residents of] all [the houses and courtyards] desire to establish an eruv together, [the [eruv]( "What Is an Eruv?") should be established in the following manner]:2 A resident of one of the courtyards should come through the house that is open to his courtyard and place [the bread for] his eruv in the middle house. [Doing so] makes3 the house that is open to his courtyard a gatehouse for his courtyard, through which [the residents of the courtyard] pass to the middle house. Similarly, a resident of the other courtyard should come through the house that is open to [his courtyard] and place [the bread for] his eruv in the middle house. [Doing so] makes the house that is open to his courtyard a gatehouse for his courtyard [through which the residents of that courtyard pass to the middle house. See fig. 102.]
Accordingly,] none [of the residents] of the three houses are required to contribute bread for the eruv. [The rationale is that] the two houses adjacent to the courtyards are like gatehouses and [the residents of] a gatehouse do not cause [carrying] to be forbidden [in the adjoining areas],4 and the middle house is the house in which [the bread for] the eruv is being placed, whose [residents] do not have to contribute bread [to the eruv].5
There are authorities who maintain that even if [the residents of the courtyards] placed the eruv [not in the middle house, but] in one of the houses adjacent to the courtyards, or even [if they placed the bread for the eruv] in a house in one of the courtyards, none [of the residents] of these three houses are required to contribute bread [for the eruv.The rationale is that these houses] are considered as gatehouses for [the residents of] the courtyard who bring [the bread for] the eruv through them to the other courtyard.
Stringency is required in the following situation:] There were two houses [located] between two courtyards. [The residents of the courtyards] did not establish an eruv together. Instead, [the residents of] each [courtyard] established an individual [ eruv.6 The residents of] each courtyard did not place [the bread for] their eruv in the house that opens to [their courtyard], but only used [that house] as a gatehouse. [The representative of one courtyard] came through the house adjoining his courtyard and placed [the bread for] the eruv in the house next to the other courtyard. The representative of the other courtyard did the same, placing [the bread for] the eruv in the house next to the other courtyard. [See fig. 103. In such an instance,] none [of the residents of these courtyards] established a [valid] eruv, because each one of them placed [the bread for] the eruv in [a house that serves as] the gatehouse of the other courtyard. [Hence,]7 it is not a valid eruv, as explained in sec. 366[:5].
Translated by Rabbi Eliyahu Touger and Uri Kaploun.
Rabbi Shneur Zalman of Liadi (18 Elul 1745 – 24 Tevet 1812), known as “the Alter Rebbe,” was one of the main disciples of the Maggid of Mezritch, and the founder of Chabad Chassidism. He is the author of Shulchan Aruch HaRav and Tanya as well as many other major works in both Jewish law and the mystical teachings.