יבמות ב:ו · Yevamot 2:6

מִי שֶׁקִּדֵּשׁ אַחַת מִשְּׁתֵּי אֲחָיוֹת וְאֵינוֹ יוֹדֵעַ אֵיזוֹ מֵהֶן קִדֵּשׁ, נוֹתֵן גֵּט לָזוֹ וְגֵט לָזוֹ. מֵת, וְלוֹ אָח אֶחָד, חוֹלֵץ לִשְׁתֵּיהֶן. הָיוּ לוֹ שְׁנַיִם, אֶחָד חוֹלֵץ וְאֶחָד מְיַבֵּם. קָדְמוּ וְכָנְסוּ, אֵין מוֹצִיאִין מִיָּדָם:
In the case of one who betrothed one of two sisters and does not know which of them he betrothed, so that both are forbidden to him, he gives a bill of divorce to this one and a bill of divorce to that one due to the uncertainty. If the man who had betrothed one of these women died before he could give a bill of divorce, and he had one brother, that brother performs ḥalitza with both of them, but he may not take either in levirate marriage. This is because he does not know which woman is his yevama and which is forbidden to him as the sister of a woman with whom he has a levirate bond. If the man who betrothed one of these women had two brothers, one of them performs ḥalitza with one of the sisters, but he may not enter into levirate marriage with her due to the possibility that she is the sister of a woman with whom he has a levirate bond. And one takes the other in levirate marriage if he so desires. If the two brothers married the two sisters before consulting the court, the court does not remove them from their marriage and they are permitted to remain married. The couple who performed levirate marriage second was even permitted to do so, since there was no longer any doubt about the levirate bond.

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

מִי → one who שֶׁקִּדֵּשׁ → betrothed [ק - ד - ש]אַחַת → one [א - ח - ד]מִשְּׁתֵּי → of two [ש - ת - ה]אֲחָיוֹת → sisters [א - ח - ה]וְאֵינוֹ → and does not [י - ד - ע]יוֹדֵעַ → know [י - ד - ע]אֵיזוֹ → which מֵהֶן → of them קִדֵּשׁ → he betrothed [ק - ד - ש]נוֹתֵן → he gives [נ - ת - ן]גֵּט → a bill of divorce [ג - ט - ט]לָזוֹ → to this one וְגֵט → and a bill of divorce [ג - ט - ט]לָזוֹ → to that one מֵת → he died [מ - ו - ת]וְלוֹ → and he had אָח → brother [א - ח - ה]אֶחָד → one [א - ח - ד]חוֹלֵץ → performs ḥalitza [ח - ל - ץ]לִשְׁתֵּיהֶן → with both of them [ש - ת - ה]הָיוּ → they had [ה - י - ה]לוֹ → to him שְׁנַיִם → two [ש - נ - ה]אֶחָד → one [א - ח - ד]חוֹלֵץ → performs ḥalitza [ח - ל - ץ]וְאֶחָד → and one [א - ח - ד]מְיַבֵּם → performs levirate marriage [י - ב - ם]קָדְמוּ → they preceded [ק - ד - ם]וְכָנְסוּ → and married [כ - נ - ס]אֵין → not [א - י - ן]מוֹצִיאִין → they remove [י - צ - א]מִיָּדָם → from their hand [י - ד - ה]