ה הַכּוֹתֵב גֵּט בְּשַׁבָּת אוֹ בְּיוֹם הַכִּפּוּרִים, בְּשׁוֹגֵג, וּנְתָנוֹ לָהּ, הֲרֵי זוֹ מְגֹרֶשֶׁת. כְּתָבוֹ וַחֲתָמוֹ בְּזָדוֹן בּוֹ בַּיּוֹם אוֹ בְּיוֹם טוֹב, וּנְתָנוֹ לָהּ, אֵינָהּ מְגֹרֶשֶׁת, שֶׁהֲרֵי הָעֵדִים פְּסוּלִים מִן הַתּוֹרָה. כְּתָבוֹ בְּיוֹם טוֹב בְּזָדוֹן, וְנִמְסַר לָהּ בִּפְנֵי עֵדִים כְּשֵׁרִים, הֲרֵי זֶה גֵּט פָּסוּל. הַגָּה: אֲבָל כְּתָבוֹ בְּזָדוֹן בְּיוֹם כִּפּוּרִים וְשַׁבָּת, הֲרֵי זֶה בָּטֵל מִדְּאוֹרָיְתָא, (כֵּן דִּקְדֵּק הַבֵּית יוֹסֵף). וְאֵין לְגָרֵשׁ בַּלַּיְלָה, וְאִם גֵּרַשׁ בַּלַּיְלָה יֵשׁ אוֹמְרִים דְּהָוֵי גֵּט פָּסוּל (ר"י מִינְץ). וְלָכֵן לְאַחַר שֶׁהִתְפַּלְּלוּ הַקָּהָל עַרְבִית אַף עַל פִּי שֶׁעֲדַיִן הַיּוֹם גָּדוֹל, אֵין לְגָרֵשׁ (בִּתְרוּמַת הַדֶּשֶׁן סִימָן רמ"ח). וְעַיֵּן לְקַמָּן סוֹף סִימָן קנ"ד סָעִיף פ"ח וּפ"ט:
5 One who writes a divorce document on the Sabbath or on Yom Kippur, accidentally (shogeg), and he gives it to her, she is indeed divorced. If he writes it and has it signed [by witnesses] purposely on that day [of the Sabbath or Yom Kippur] or on a festival, she is not divorced, for the witnesses are invalid on a biblical level. If he writes it purposely on a festival, and he gives it to her in front of kosher witnesses, indeed the divorce document is invalid. Rema: But if he writes it purposely on Yom Kippur or the Sabbath, indeed it is utterly invalid on a biblical level (so inferred the Bet Yosef). And one cannot divorce at night, and if one does divorce at night, some say the divorce document is invalidated (R"Y Mintz). And therefore, after the congregation prays the evening prayer, even if it is still largely day, one may not divorce (Terumat Hadeshen Sman 248). And see later the end of Siman 154 Se'if 88 and 89.