ב אִם הָיָה מֻקְדָּם, אוֹ נִכְתַּב בַּיּוֹם וְנֶחְתַּם בַּלָּיְלָה שֶׁלְּאַחֲרָיו, פָּסוּל, אֲפִלּוּ הָיוּ עֲסוּקִים בְּאוֹתוֹ עִנְיָן. וְיֵשׁ אוֹמְרִים דְּנִכְתַּב בַּיּוֹם וְנֶחְתַּם בַּלַּיְלָה שֶׁלְּאַחֲרָיו, בִּשְׁעַת הַדְּחָק כָּשֵׁר. הַגָּה: וְגֵט מֻקְדָּם, אַף עַל פִּי שֶׁפָּסוּל, אִם קִדְּשָׁהּ אַחֵר, צְרִיכָה גֵּט מִשֵּׁנִי וַאֲסוּרָה לַחֲזֹר לָרִאשׁוֹן (פִּסְקֵי מהרא"י סִימָן י"ג לְדַעַת הָרַמְבַּ"ם, וּבֵית יוֹסֵף בְּשֵׁם הָרַ"ן וְהָרַשְׁבָּ"א):
2 If it was dated early, or if it was written during the day and signed the night after, it is invalid, even if they were discussing that matter. And there are those who say that if it is written during the day and signed the night after, in times of distress, it is valid. Rema: And an early-dated get, even though it is invalid, if another man betroths her, she needs a get from the second, and she may not return to the first (Piskei Mahari, siman 13, according to the Rambam, and Bet Yosef in the name of the Ran and the Rashba).