תָּנוּ רַבָּנַן דֶּבֶר בָּעִיר כַּנֵּס רַגְלֶיךָ שֶׁנֶּאֱמַר וְאַתֶּם לֹא תֵצְאוּ אִישׁ מִפֶּתַח בֵּיתוֹ עַד בֹּקֶר וְאוֹמֵר לֵךְ עַמִּי בֹּא בַחֲדָרֶיךָ וּסְגוֹר דְּלָתְךָ בַּעֲדֶךָ וְאוֹמֵר מִחוּץ תְּשַׁכֶּל חֶרֶב וּמֵחֲדָרִים אֵימָה
§ The Sages taught: If there is plague in the city, gather your feet, i.e., limit the time you spend out of the house, as it is stated in the verse: “And none of you shall go out of the opening of his house until the morning.” And it says in another verse: “Come, my people, enter into your chambers, and shut your doors behind you; hide yourself for a little moment, until the anger has passed by” (Isaiah 26:20). And it says: “Outside the sword will bereave, and in the chambers terror” (Deuteronomy 32:25).
מַאי וְאוֹמֵר וְכִי תֵּימָא הָנֵי מִילֵּי בְּלֵילְיָא אֲבָל בִּימָמָא לָא תָּא שְׁמַע לֵךְ עַמִּי בֹּא בַחֲדָרֶיךָ וּסְגוֹר דְּלָתְךָ
The Gemara asks: What is the reason for citing the additional verses introduced with the term: And it says? The first verse seems sufficient to teach the principle that one should not emerge from one’s house when there is a plague. The Gemara answers: And if you would say that this matter, the first verse that states that none of you shall go out until morning, applies only at night, but in the day one may think that the principle does not apply, for this reason the Gemara teaches: Come and hear: “Come, my people, enter into your chambers, and shut your doors behind you.”
וְכִי תֵּימָא הָנֵי מִילֵּי [הֵיכָא] דְּלֵיכָּא אֵימָה מִגַּוַּאי אֲבָל הֵיכָא דְּאִיכָּא אֵימָה מִגַּוַּאי כִּי נָפֵיק יָתֵיב בֵּינֵי אִינָשֵׁי בְּצַוְותָּא בְּעָלְמָא טְפֵי מְעַלֵּי תָּא שְׁמַע מִחוּץ תְּשַׁכֶּל חֶרֶב וּמֵחֲדָרִים אֵימָה אַף עַל גַּב דְּמֵחֲדָרִים אֵימָה מִחוּץ תְּשַׁכֶּל חֶרֶב
And if you would say that this matter applies only where there is no fear inside, which explains why it is preferable to remain indoors, but where there is fear inside, one might think that when he goes out and sits among people in general company it is better, therefore, the Gemara introduces the third verse and says: Come and hear: “Outside the sword will bereave, and in the chambers terror.” This means that although there is terror in the chambers, outside the sword will bereave, so it is safer to remain indoors.
רָבָא בְּעִידָּן רִתְחָא הֲוָה סָכַר כַּוֵּי דִּכְתִיב כִּי עָלָה מָוֶת בְּחַלּוֹנֵינוּ
At a time when there was a plague, Rava would close the windows of his house, as it is written: “For death is come up into our windows” (Jeremiah 9:20).
תָּנוּ רַבָּנַן רָעָב בָּעִיר פַּזֵּר רַגְלֶיךָ שֶׁנֶּאֱמַר וַיְהִי רָעָב בָּאָרֶץ וַיֵּרֶד אַבְרָם מִצְרַיְמָה [לָגוּר] (וַיָּגׇר) שָׁם וְאוֹמֵר אִם אָמַרְנוּ נָבוֹא הָעִיר וְהָרָעָב בָּעִיר וָמַתְנוּ שָׁם
The Sages taught: If there is famine in the city, spread your feet, i.e., leave the city, as it is stated in the verse: “And there was a famine in the land; and Abram went down into Egypt to sojourn there” (Genesis 12:10). And it says: “If we say: We will enter into the city, then the famine is in the city, and we shall die there; and if we sit here, we die also, now come, and let us fall unto the host of the Arameans; if they save us alive, we shall live; and if they kill us, we shall but die” (II Kings 7:4).
מַאי וְאוֹמֵר וְכִי תֵּימָא הָנֵי מִילֵּי הֵיכָא דְּלֵיכָּא סְפֵק נְפָשׁוֹת אֲבָל הֵיכָא דְּאִיכָּא סְפֵק נְפָשׁוֹת לָא תָּא שְׁמַע לְכוּ וְנִפְּלָה אֶל מַחֲנֵה אֲרָם אִם יְחַיֻּנוּ נִחְיֶה
What is the reason for citing the second verse, introduced with the term: And it says? And if you would say that this matter, the principle of leaving the city, applies only where there is no uncertainty concerning a life-threatening situation, but where there is uncertainty concerning a life-threatening situation this principle does not apply, come and hear: “Come, and let us fall unto the host of the Arameans; if they save us alive, we shall live; and if they kill us, we shall but die.”
תָּנוּ רַבָּנַן דֶּבֶר בָּעִיר אַל יְהַלֵּךְ אָדָם בְּאֶמְצַע הַדֶּרֶךְ מִפְּנֵי שֶׁמַּלְאַךְ הַמָּוֶת מְהַלֵּךְ בְּאֶמְצַע הַדְּרָכִים דְּכֵיוָן דִּיהִיבָא לֵיהּ רְשׁוּתָא מְסַגֵּי לְהֶדְיָא שָׁלוֹם בָּעִיר אַל יְהַלֵּךְ בְּצִדֵּי דְרָכִים דְּכֵיוָן דְּלֵית לֵיהּ רְשׁוּתָא מִחַבֵּי חַבּוֹיֵי וּמְסַגֵּי
The Sages taught: If there is a plague in the city, a person should not walk in the middle of the road, due to the fact that the Angel of Death walks in the middle of the road, as, since in Heaven they have given him permission to kill within the city, he goes openly in the middle of the road. By contrast, if there is peace and quiet in the city, do not walk on the sides of the road, as, since the Angel of Death does not have permission to kill within the city, he hides himself and walks on the side of the road.
כתבו הגדולים דכשאבעבועות שקורין פקי"ן פורחים בתינוקות ומתים – יש לגזור תענית. וכל אחד מחוייב להרחיק מן העיר בניו ובנותיו הקטנים, ואם לא עשה כן – הרי זה מתחייב בנפשם (מגן אברהם סעיף קטן ג בשם השל"ה). ובגמרא איתא: דבר בעיר – כנס רגליך (בבא קמא ס ב). אך האבעבועות הוי מחלה מתדבקת, ולכן החוב להרחיקם מן העיר. ועכשיו אין זה מצוי, כי זה כמאה וחמשים שנים המציאו הרופאים להעמיד לכל קטן וקטנה בני שנה או יותר קו"י פאקי"ן, ועל ידי זה נמלטים ממחלה זו כידוע. ועכשיו שכיחי בילדים מחלה שקורין דיפטערי"ט, והוא מין אסכרה שמחניק הגרון. ונראה לי שאם חלילה המחלה מתרבה בעיר – יש לגזור תענית.
ע"ל בא"ח בהלכות נטילה סימן ד' אחר ז' דברים צריך לרחוץ משום סכנה כתב הרד"א מ"כ שיש ליזהר בכל תקופה שלא לשתות מים בשעת התקופה משום סכנה שלא יתנזק ויתנפח והטעם כי טיפה דם נופלת בין תקופה לתקופה למים אכל החכם בן עזרא כתב שאלו חכמי קירא"ון לרב האי למאי נוהגין ישראל שבמערב להשמר שלא ישתו מים בשעת התקופה והשיב כי ניחוש בעלמא הוא בעבור שהוא תחילת השנה או רביעית ולא ירצו לשתות מים שימצאו בחגם ע"כ יאכלו בה כל מינים מתוקין להיות שינתם מתוקה ואני אומר מתוקה שנת העובד הש"י הבוטח בו לבדו והנה היודעים תקופת האמת לא אמרו כי תזיק בו אכילה ושתיה ודבר ניפוח שיחות הזקינות ויש מהגאוגים שאמרו כי לא נחש ביעקב אלא הקדמונים אמרו אלו הדברים להפחיד בני אדם מהש"י ולא יוסיפו הרשעים לרשוע וישובו כדי שיצילם הש"י מד' תקופות השנה עכ"ל כתב מהרי"ל בתשובה סימן ל' דטוב לברוח בשעת הדבר ב"מ ויש לברוח בתחילתה ולא בסופה וע"ש שהאריך וכ"כ הזוהר פ' וירא דיש לברוח מן העיר ואע"ג דאמרינן בגמ' (ב"ק ס':) דבר בעיר כנס וכו' נ"ל דכ"ש לברוח עדיף טפי אלא שאם יוכל לכנס באין יוצא ואם לא חייב לברוח ומנהג של ישראל תורה הוא: