יבמות י:ה · Yevamot 10:5

אָמְרוּ לוֹ, מֵתָה אִשְׁתְּךָ, וְנָשָׂא אֲחוֹתָהּ מֵאָבִיהָ, מֵתָה, וְנָשָׂא אֲחוֹתָהּ מֵאִמָּהּ, מֵתָה, וְנָשָׂא אֲחוֹתָהּ מֵאָבִיהָ, מֵתָה, וְנָשָׂא אֲחוֹתָהּ מֵאִמָּהּ, וְנִמְצְאוּ כֻלָּן קַיָּמוֹת, מֻתָּר בָּרִאשׁוֹנָה, בַּשְּׁלִישִׁית, וּבַחֲמִישִׁית, וּפוֹטְרוֹת צָרוֹתֵיהֶן, וְאָסוּר בַּשְּׁנִיָּה וּבָרְבִיעִית, וְאֵין בִּיאַת אַחַת מֵהֶן פּוֹטֶרֶת צָרָתָהּ. וְאִם בָּא עַל הַשְּׁנִיָּה לְאַחַר מִיתַת הָרִאשׁוֹנָה, מֻתָּר בַּשְּׁנִיָּה וּבָרְבִיעִית, וּפוֹטְרוֹת צָרוֹתֵיהֶן, וְאָסוּר בַּשְּׁלִישִׁית וּבַחֲמִישִׁית, וְאֵין בִּיאַת אַחַת מֵהֶן פּוֹטֶרֶת צָרָתָהּ:
Witnesses said to a husband: Your wife is dead, and he married her paternal sister, and witnesses subsequently told him that his second wife was dead and he married her maternal sister; afterward witnesses said that this one too was dead and he married her paternal sister; finally they told him that she was dead and he married the last woman’s maternal sister, and then they were all discovered to be alive. In this case he is permitted to his first wife, and to the third and to the fifth. Since these women are not sisters, his betrothal to them is effective. Consequently, if he died and one of them entered into levirate marriage, they exempt their rival wives. But he is forbidden to the second and fourth wife, each of whom is the sister of his original wife. Therefore, if he passed away and the yavam had relations with one of them, his relations with any one of them does not exempt her rival wife, as she was forbidden to his brother, which means there was no mitzva of levirate marriage here at all. And if he had relations with the second woman in the aforementioned list after the death of the first, i.e., the first one indeed died but the other rumors were all false, in that case he is permitted to the second and the fourth, who are his lawful wives, and they exempt their rival wives, and he is forbidden to the third and the fifth, the sisters of the women married to him, and the sexual relations of the brother with any one of them does not exempt her rival wife.

Word-by-word Breakdown (מילים ושרשים)

אָמְרוּ → said [א - מ - ר]לוֹ → to him מֵתָה → is dead [מ - ו - ת]אִשְׁתְּךָ → your wife [א - ש - ה]וְנָשָׂא → and he married [נ - ש - א]אֲחוֹתָהּ → her sister [א - ח - ה]מֵאָבִיהָ → paternal [א - ב - ה]מֵתָה → is dead [מ - ו - ת]וְנָשָׂא → and he married [נ - ש - א]אֲחוֹתָהּ → her sister [א - ח - ה]מֵאִמָּהּ → maternal [א - מ - א]מֵתָה → is dead [מ - ו - ת]וְנָשָׂא → and he married [נ - ש - א]אֲחוֹתָהּ → her sister [א - ח - ה]מֵאָבִיהָ → paternal [א - ב - ה]מֵתָה → is dead [מ - ו - ת]וְנָשָׂא → and he married [נ - ש - א]אֲחוֹתָהּ → her sister [א - ח - ה]מֵאִמָּהּ → maternal [א - מ - א]וְנִמְצְאוּ → and were discovered [מ - צ - א]כֻלָּן → all of them [כ - ל - ל]קַיָּמוֹת → alive [ק - ו - ם]מֻתָּר → he is permitted [ת - ר - ר]בָּרִאשׁוֹנָה → to the first [ר - א - ש]בַּשְּׁלִישִׁית → to the third [ש - ל - ש]וּבַחֲמִישִׁית → and to the fifth [ח - מ - ש]וּפוֹטְרוֹת → and they exempt [פ - ט - ר]צָרוֹתֵיהֶן → their rival wives [צ - ר - ר]וְאָסוּר → and he is forbidden [א - ס - ר]בַּשְּׁנִיָּה → to the second [ש - נ - ה]וּבָרְבִיעִית → and to the fourth [ר - ב - ע]וְאֵין → and there is no [א - י - ן]בִּיאַת → relation / intercourse [ב - ו - א]אַחַת → of any [א - ח - ד]מֵהֶן → of them