It is a mitzvah to seek after eruvei chatzerot, and one recites the blessing "concerning the mitzvah of the eruv." And when does he bless? At the time he collects it from the residents of the courtyard, or at the time he grants them merit in it. And he says: "By means of this eruv, it shall be permitted for us to take out and to bring in from the houses to the courtyard, and from the courtyard to the houses, and from house to house for all the houses in the courtyard—for all the Shabbats of the year." And there are those who wish to add also "for Yom Tov," but the custom is not so. And if they collected the eruv and did not bless over it—the blessing is not indispensable and they are permitted to carry, for blessings are not indispensable. And it is not similar to eruvei tavshilin later in siman 527, where the blessing is indispensable, for there the essence is the blessing, so that he will select a fine portion for Shabbat, and without this it is nothing. But here, the essence is the partnership or the granting of merit. And one should not say that if so, the blessing would not be "prior to their performance." For it is not so, as before Shabbat enters it is called "prior to their performance." And another man who is not of the residents of the courtyard shall not recite this blessing, since he has no connection to this eruv, and he performs no action upon which to bless. Therefore, this is not similar to other mitzvot where another may also bless. And if Yom Tov falls on the eve of Shabbat, whether it is permitted to grant merit on Yom Tov, it will be explained in siman 528 that it is forbidden, see there. And know, that there are versions in which "from roof to roof" is also written in "by means of this eruv." And there is no need for it, for even without this it is permitted to carry from roof to roof, as I wrote in siman 372. And a guardian of a minor may make an eruv on his behalf, that is to say, to give a portion in the eruv for the sake of the minor. And we do not say, behold the minor can carry without an eruv, for a minor who eats neveilot, the beit din is not commanded to separate him, as I wrote in siman 343. Nevertheless, ab initio we do not leave him to act in prohibition, and furthermore so that his house will not prohibit for all the residents of the courtyard when he has no portion in it. (See Magen Avraham at the end of subsection 20 that the Arizal, of blessed memory, would bless and afterward would grant merit to the residents of the courtyard, and the Magen Avraham wondered at this, see there. And it can be said that he did so in order that the blessing would be "prior to its performance," and he would bless and grant merit and say "by means of this etc." And that which he wrote the language "after he makes the eruv for himself he shall grant merit also to others," this is its explanation: when he makes the blessing over the bread, behold he desires the eruv, and he grants merit to others as well and the eruv is completed, and examine this carefully.)
מצוה לחזור אחר עירובי חצרות, ומברך 'על מצות עירוב'. ואימתי מברך - בשעה שמקבץ אותו מבני החצר, או בשעה שמזכה להם. ואומר: "בהדין עירובא יהא שרא לן לאפוקי ולעיולי מן הבתים לחצר, ומן החצר לבתים, ומבית לבית כל הבתים שבחצר - לכל שבתות השנה." ויש שרוצה להוסיף גם 'ליום טוב', ואין המנהג כן. ואם גבו העירוב ולא ברכו עליו - אין הברכה מעכבת ומותרים לטלטל, שאין הברכות מעכבות. ולא דמי לעירובי תבשילין לקמן סימן תקכ"ז, דהברכה מעכבת, דהתם העיקר הוא הברכה, כדי שיברור מנה יפה לשבת, ובלא זה אינו כלום. אבל הכא, העיקר הוא ההשתתפות או הזיכוי. ואין לומר דאם כן לא הוה הברכה עובר לעשייתן. דאינו כן, דקודם שנכנס שבת מקרי עובר לעשייתן. ואיש אחר שאינו מבני החצר - לא יברך ברכה זו, כיון שאין לו שייכות בעירוב זה, ואינו עושה שום מעשה שיברך על זה. ולכן אין זה דומה לשארי מצות שגם אחר מברך. ואם חל יום טוב בערב שבת אם מותר לזכות ביום טוב, יתבאר בסימן תקכ"ח שאסור, ע"ש. ודע, דיש נוסחות שכתוב בהן בהדין עירובא גם 'מגג לגג'. ואין צורך בה, דבלאו הכי מותר לטלטל מגג לגג, כמ"ש בסימן שע"ב. ואפוטרופוס של קטן יכול לערב בעדו, כלומר ליתן חלק בעירוב בשביל הקטן. ולא אמרינן, הרי הקטן יכול לטלטל בלא עירוב, דקטן אוכל נבלות אין בית דין מצווין עליו להפרישו כמ"ש בסימן שמ"ג. מכל מקום, לכתחלה לא שבקינן ליה שיעשה באיסור, ועוד כדי שביתו לא תאסור על כל בני החצר, כשלא יהיה לו חלק בו. (עיין מג"א ססק"כ דהאריז"ל היה מברך ואחר כך היה מזכה לבני החצר, ותמה המג"א ע"ש. ויש לומר דעשה כן כדי שתהא הברכה עובר לעשייתו, והיה מברך ומזכה ואומר בהדין וכו'. וזה שכתב הלשון 'אחר שיערב בעדו יזכה גם לאחרים' הכי פירושו - כשעושה הברכה על הפת הרי רצונו בעירוב, ומזכה לאחרים גם כן ונגמר העירוב ודו"ק)