סימן קלג סעיף יב
מְעֻבָּרוֹת וּמֵינִיקוֹת מִתְעַנּוֹת וּמַשְׁלִימוֹת כְּכָל אָדָם. וּמֵינִיקָה שֶׁוְּלָדָהּ חוֹלֶה וּמְסֻכָּן וְאֵינוֹ רוֹצֶה לִינֹק כִּי אִם מִמֶּנָּה, וְאִם תִּתְעַנֶּה, תְּהֵא סַכָּנָה לַוָּלָד, לֹא תִתְעַנֶּה.
Pregnant and nursing women should fast the entire day, the same as other people. A nursing woman should not fast if her child is critically ill, and will not nurse from anyone else but her; for if she would fast, the child's life would be threatened.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)