כָּל גֵּט שֶׁלֹּא נִכְתַּב לְשֵׁם הָאִישׁ הַמְגָרֵשׁ וּלְשֵׁם הָאִשָּׁה הַמִּתְגָּרֶשֶׁת אֵינוֹ גֵּט. כֵּיצַד. סוֹפֵר שֶׁכָּתַב גֵּט לְלַמֵּד אוֹ לְהִתְלַמֵּד וּבָא הַבַּעַל וּמָצָא שֵׁם שֶׁנִּכְתַּב בְּגֵט זֶה כִּשְׁמוֹ וְשֵׁם הָאִשָּׁה כְּשֵׁם אִשְׁתּוֹ וְשֵׁם הָעִיר כְּשֵׁם עִירוֹ וּנְטָלוֹ וְגֵרֵשׁ בּוֹ אֵינוֹ גֵּט:
A get that is not written for the sake of the man [initiating] the divorce and for the sake of the woman who is being divorced is not valid. What is implied? A scribe wrote a get to learn [scribal arts] or to teach them, and a husband came and discovered that the get was written with his name; the name of the woman was the same as his wife's name; and the name of the city the same as the name of his city. If he took [this get] and used it to divorce [his wife], the divorce is void.
