סימן קנג סעיף טז
אִשָּׁה נִדָּה, בִּימֵי רְאִיָתָהּ קֹדֶם יְמֵי לִבּוּנָהּ, נוֹהֲגִין שֶׁאֵינָהּ נִכְנֶסֶת לְבֵית הַכְּנֶסֶת וְאֵינָהּ מִתְפַּלֶּלֶת. אַךְ בַּיָמִים הַנּוֹרָאִים, דְּהַיְנוּ מִיּוֹם רִאשׁוֹן דִּסְלִיחוֹת וּלְהַלָּן שֶׁרַבִּים מִתְאַסְּפִים בְּבֵית הַכְּנֶסֶת, וְיִהְיֶה לָּהּ עִצָּבוֹן גָּדוֹל אִם לֹא תֵלֵךְ, מֻתֶּרֶת לָלֶכֶת וּלְהִתְפַּלֵל. וְכֵן כְּשֶׁהִיא מַשִׂיאָה אֶת בְּנָהּ אוֹ אֶת בִּתָּה, אוֹ כְּשֶׁהִיא יוֹלֶדֶת שֶהִגִּיעַ זְמַנָּה לָלֶכֶת לְבֵית הַכְּנֶסֶת, וְכַיוֹצֵא בָזֶה, מֻתֶּרֶת.
During the time a woman is a niddah, during her menstruation period before the white days, it is customary27Nowadays they are accustomed to go but should not look at the Seifer Torah when they raise it and show it to the congregants. Mishnah Berurah 88:7—Chayei Adam. for her not to enter a synagogue and not to pray. But on the Days of Awe, that is from the first day of Selichot when multitudes assemble at the synagogue, and she will be greatly distressed if she does not go, she is permitted to go and pray. Similarly at the marriage of her son, or daughter, or she has given birth and it is time for her to go to the synagogue, or for similar things, she is permitted to do so.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)