Eruvin 46a
עירובין מ״ו א — ד"ה מַאי כְּלָלָא
Eruvin 46a:4
This passage states the rule 'halakhah k'divrei hameikil be'eruvin' in the context of eruv disputes. The Gemara explains that in eruv matters one may follow the lenient opinion because the laws of eruv are rabbinic and oriented toward facilitating communal Shabbat observance.
מַאי כְּלָלָא? דְּאָמַר רַבִּי יְהוֹשֻׁעַ בֶּן לֵוִי: הֲלָכָה כְּדִבְרֵי הַמֵּיקֵל בְּעֵירוּב. אָמַר רַבִּי זֵירָא: צְרִיכִי, דְּאִי אַשְׁמְעִינַן הֲלָכָה כְּרַבִּי יוֹחָנָן בֶּן נוּרִי, הֲוָה אָמֵינָא בֵּין לְקוּלָּא וּבֵין לְחוּמְרָא, קָא מַשְׁמַע לַן הֲלָכָה כְּדִבְרֵי הַמֵּיקֵל בְּעֵירוּב. אֲמַר לֵיהּ רָבָא לְאַבָּיֵי: מִכְּדֵי עֵירוּבִין דְּרַבָּנַן, מָה לִי יָחִיד בִּמְקוֹם יָחִיד, וּמָה לִי יָחִיד בִּמְקוֹם רַבִּים!
The Gemara asks: From what other teaching could this ruling be inferred? The Gemara explains: From that which Rabbi Yehoshua ben Levi said: The halakha is in accordance with the lenient opinion with regard to an eiruv. Rabbi Zeira said: Both rulings were necessary, as had he informed us only that the halakha is in accordance with the opinion of Rabbi Yoḥanan ben Nuri, I would have said that the halakha is in accordance with him whether this is a leniency, i.e., that a sleeping person acquires residence and may walk two thousand cubits in every direction, or whether it is a stringency, i.e., that ownerless utensils acquire residence and can be carried only two thousand cubits from that place. Consequently, he teaches us that the halakha is in accordance with the lenient opinion with regard to an eiruv, so that we rule in accordance with Rabbi Yoḥanan ben Nuri only when it entails a leniency. Rava said to Abaye: Now, since the laws of eiruvin are rabbinic in origin, what reason is there for me to differentiate between a disagreement of a single authority with a single authority and a disagreement of a single authority with several authorities?