The Shulchan Aruch · Even HaEzer
אבן העזר קמ״הEven HaEzer 145
Siman 145 of 178 in Even HaEzer — 10 se'ifim
הלכות גיטיןLaws of Gittin· siman 145
Se’if 1א׳
הֲרֵי זֶה גִּטֵּךְ אִם מַתִּי, אוֹ הֲרֵי זֶה גִּטֵּךְ אִם מַתִּי מֵחֹלִי זֶה, אוֹ הֲרֵי זֶה גִּטֵּךְ לְאַחַר מִיתָה, אֵינוֹ גֵּט; וְיֵשׁ אוֹמְרִים שֶׁהוּא סָפֵק.
There is a divorce document of somebody dies. Or there is a divorce document for when somebody is sick (probably coma or incapacitated). Or a divorce document for after somebody dies. The document isn't only for divorce, this is generally an accepted idea.
Se’if 2ב׳
הֲרֵי זֶה גִּטֵּךְ מֵהַיּוֹם אִם מַתִּי, אוֹ מֵעַכְשָׁו אִם מַתִּי, הֲרֵי זֶה גֵּט, וּכְשֶׁיָּמוּת תִּהְיֶה מְגֹרֶשֶׁת. וְיוֹתֵר טוֹב שֶׁיֹּאמַר: מֵעַכְשָׁו, מִשֶּׁיֹּאמַר: מֵהַיּוֹם, שֶׁאִם אָמַר: מֵהַיּוֹם, וּמֵת בְּתוֹךְ הַיּוֹם, יֵשׁ לְהִסְתַּפֵּק שֶׁמָּא אֵין דַּעְתּוֹ אֶלָּא מִסוֹף הַיּוֹם, וְאֵין גֵּט לְאַחַר מִיתָה.
If, [however, the husband] tells her: "This is your get. If I die, [it is effective retroactively] from the present day," or "...If I die, [it is effective retroactively] from the present time,this divorce document starts the day they die, or right away if they die, its a divorce document. And its better if you say from now (it starts) than to saying today. If you say today and they die in the middle of the day then the document doesn't take into effect until the end of the day, and there is no divorce document after the death.
Se’if 3ג׳
הֲרֵי זוֹ גִּטֵּךְ מֵעַכְשָׁו, אוֹ מֵהַיּוֹם, וּלְאַחַר מִיתָה, וּמֵת, הֲרֵי זֶה סְפֵק מְגֹרֶשֶׁת, שֶׁמָּא אַחַר שֶׁאָמַר: מֵעַכְשָׁו, חָזַר בּוֹ מִלְּשׁוֹן מֵעַכְשָׁו, וְסָמְכָה דַּעְתּוֹ עַל לְאַחַר מִיתָה.
[If a husband] says: "This is your get. If I die, [it is effective retroactively] from the present time - or from the present day - after my death," when [the husband] dies, the status of his wife's divorce is in doubt. [We suspect that] perhaps, after saying "from the present time," he changed his mind and [did not desire that the get become effective] from the present time, and instead take effect after his death. And there is no concept of divorce after a person's death.
Shulchan Aruch, Even HaEzer — Torat Emet 357 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0