Gitin8: 8
כָּתַב סוֹפֵר גֵּט לָאִישׁ וְשׁוֹבָר לָאִשָּׁה, וְטָעָה וְנָתַן גֵּט לָאִשָּׁה וְשׁוֹבָר לָאִישׁ, וְנָתְנוּ זֶה לָזֶה, וּלְאַחַר זְמַן הֲרֵי הַגֵּט יוֹצֵא מִיַּד הָאִישׁ וְשׁוֹבָר מִיַּד הָאִשָּׁה — תֵּצֵא מִזֶּה וּמִזֶּה, וְכָל הַדְּרָכִים הָאֵלּוּ בָּהּ. רַבִּי אֱלִיעֶזֶר אוֹמֵר: אִם לְאַלְתַּר יָצָא — אֵין זֶה גֵּט; אִם לְאַחַר זְמַן יָצָא — הֲרֵי זֶה גֵּט, לֹא כָל הֵימֶנּוּ מִן הָרִאשׁוֹן לְאַבֵּד זְכוּתוֹ שֶׁל שֵׁנִי.  כָּתַב לְגָרֵשׁ אֶת אִשְׁתּוֹ, וְנִמְלַךְ — בֵּית שַׁמַּאי אוֹמְרִים: פְּסָלָהּ מִן הַכְּהֻנָּה; וּבֵית הִלֵּל אוֹמְרִים: אַף עַל פִּי שֶׁנְּתָנוֹ לָהּ עַל תְּנַאי, וְלֹא נַעֲשָׂה הַתְּנַאי — לֹא פְסָלָהּ מִן הַכְּהֻנָּה.
[If] a scribe wrote a get for a man and a receipt for a woman, and he erred and gave the get to the woman and the receipt to the man, and they gave [them] one to another, and afterward, the get was found in the hand of the man and the receipt in the hand of the woman, she must leave both of them, and all of these procedures apply to her. R' Eliezer says: If it went out immediately, it is not a get; if it went out afterward, it is a get, [because] the first is not believed to abrogate the rights of the second.  [If a man] wrote [a get] to divorce his wife and [then] changed his mind —- Beis Shammai say: He disqualified her from marrying a Kohen; Beis Hillel, however, say: Even if he gave it to her on a condition, and the condition was not met, he did not disqualify her from marrying a Kohen.