סימן קמא סעיף ב
בִּימֵי מָּרְדְּכַי וְאֶסְתֵּר, נִקְהֲלוּ הַיְהוּדִים בִּשְׁלשָׁה עָשָׂר לְחֹדֶשׁ אֲדָר לַעֲמֹד עַל נַפְשָׁם וּלְהִנָּקֵם מֵאוֹיְבֵיהֶם, וְהָיוּ צְרִיכִין לְבַקֵּשׁ רַחֲמִים מֵאֵת ה' יִתְבָּרַךְ שְׁמוֹ, שֶׁיַעְזְרֵם. וּמָצִינוּ שֶׁכַּאֲשֶׁר הָיוּ יִשְֹרָאֵל בַּמִּלְחָמָה, הִתְעַנּוּ שֶׁיַעְזְרֵם ה'. וְגַם משֶׁה רַבֵּנוּ עָלָיו הַשָׁלוֹם, בְּיוֹם שֶׁנִּלְחַם עִם עֲמָלֵק, הִתְעַנָּה. וְאִם כֵּן, מִסְּתָמָא גַּם אָז בִּימֵי מָרְדְּכַי וְאֶסְתֵּר, הִתְעַנוּ בְּיוֹם שְׁלשָׁה עָשָׂר בַּאֲדָר. וְלָכֵן קִבְּלוּ עֲלֵיהֶם כָּל יִשְֹרָאֵל יוֹם זֶה לְתַעֲנִית צִבּוּר. וְנִקְרָא תַּעֲנִית אֶסְתֵּר, כְּדֵי לִזְכֹּר שֶׁהַבּוֹרֵא יִתְבָּרַךְ שְמוֹ, רוֹאֶה וְשׁוֹמֵעַ תְּפִלַּת כָּל אִישׁ בְּעֵת צָרָתוֹ, כַּאֲשֶׁר יִתְעַנֶּה וְיָשוּב אֶל ה' בְּכָל לְבָבוֹ, כְּמוֹ שֶעָשָׂה לַאֲבוֹתֵינוּ בַּיָמִים הָהֵם. וּמִכָּל מָקוֹם אֵין תַּעֲנִית זוֹ חוֹבָה כָּל כָּךְ כְּמוֹ אַרְבַּע הַתַּעֲנִיּוֹת שֶׁכְּתוּבוֹת בַּמִּקְרָא (עַיֵן לְעֵיל סִימָן קכא), וְלָכֵן יֵשׁ לְהָקֵל בָּהּ בְּעֵת הַצֹּרֶךְ, כְּגוֹן מְעֻבָּרוֹת וּמֵינִיקוֹת אוֹ אֲפִלּוּ חוֹלֶה קְצָת בִּכְאֵב עֵינַיִם, שֶׁאִם מִצְטַעֲרִים הַרְבֵּה, לֹא יִתְעַנּוּ. וְכֵן יוֹלֶדֶת כָּל שְׁלֹשִׁים יוֹם, וְכֵן חָתָן בְּתוֹךְ שִׁבְעַת יְמֵי הַמִּשְׁתֶּה שֶׁלּוֹ, אֵינָן צְרִיכִין לְהִתְעַנּוֹת, וְיִפְרְעוּ אֶת הַתַּעֲנִית אַחַר כָּךְ. אֲבָל שְׁאָר הַבְּרִיאִים, לֹא יִפְרְשׁוּ (אֶת) עַצְמָם מִן הַצִּבּוּר. וַאֲפִלּוּ מִי שֶׁהוֹלֵךְ בַּדֶרֶךְ וְקָשָׁה עָלָיו הַתַּעֲנִית, מִכָּל מָקוֹם צָרִיךְ לְהִתְעַנּוֹת.
In the days of Mordechai and Esther, the Jews joined together on the thirteenth day of Adar to defend themselves and take revenge against their enemies. They had to ask for compassion from God, blessed is His Name, that He should help them. And we find that whenever the Jewish people were at war they fasted, in order to invoke Divine assistance. Moshe Rabeinu, peace be upon him, also fasted on the day he went into battle against Amalek. This being the case, we may assume, that in the days of Mordechai and Esther, they also fasted on the thirteenth day of Adar. Therefore, all Jews have accepted this day as a public fast day. It is called Ta'anis Esther [Fast of Esther]. It is meant to remind us that the Creator, blessed is His Name, sees and hears the prayers of every person in his time of trouble, when he fasts and repents with all his heart, as He answered our forefathers in those days. Nevertheless, this fast is not as obligatory as the four fast days mentioned in Tanach (see Chapter 121 above). Therefore, you may be lenient when it is necessary. Thus pregnant and nursing women, or even a person who is slightly ill with an eye irritation should not fast, if fasting would be greatly discomforting to them.1This refers only to one who has an eye irritation, but a pregnant or nursing woman need not fast even though they feel no discomfort. This is the opinion of Yeshuos Yaakov, but Eliyahu Rabbah disagrees and maintains that they are exempt only when they feel discomfort. However, regarding a woman within thirty days after childbirth, even Eliyahu Rabbah is lenient and agrees with Yeshuos Yaakov. (Mishnah Berurah 686:4, 5) A woman within thirty days after giving birth, and a bridegroom during his seven days of Sheva berachos, do not have to fast, but they should make up for it later.2This refers only to one who did not fast because of an eye irritation. See note 1 above. But all others who are in good health should not separate themselves from the community. Even if you are traveling and fasting is difficult, nevertheless, you are required to fast.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)