Yevamos9: 2
וְאֵלּוּ מֻתָּרוֹת לְיִבְמֵיהֶן וַאֲסוּרוֹת לְבַעֲלֵיהֶן: כֹּהֵן גָּדוֹל שֶׁקִּדֵּשׁ אֶת הָאַלְמָנָה וְיֶשׁ לוֹ אָח כֹּהֵן הֶדְיוֹט; כָּשֵׁר שֶׁנָּשָׂא חֲלָלָה וְיֶשׁ לוֹ אָח חָלָל; יִשְׂרָאֵל שֶׁנָּשָׂא מַמְזֶרֶת וְיֶשׁ לוֹ אָח מַמְזֵר; מַמְזֵר שֶׁנָּשָׂא בַת יִשְׂרָאֵל וְיֶשׁ לוֹ אָח יִשְׂרָאֵל — מֻתָּרוֹת לְיִבְמֵיהֶן וַאֲסוּרוֹת לְבַעֲלֵיהֶן.  אֲסוּרוֹת לָאֵלּוּ וְלָאֵלּוּ: כֹּהֵן גָּדוֹל שֶׁנָּשָׂא אֶת הָאַלְמָנָה וְיֶשׁ לוֹ אָח כֹּהֵן גָּדוֹל אוֹ כֹהֵן הֶדְיוֹט; כָּשֵׁר שֶׁנָּשָׂא חֲלָלָה וְיֶשׁ לוֹ אָח כָּשֵׁר; יִשְׂרָאֵל שֶׁנָּשָׂא מַמְזֶרֶת וְיֶשׁ לוֹ אָח יִשְׂרָאֵל; מַמְזֵר שֶׁנָּשָׂא בַת יִשְׂרָאֵל וְיֶשׁ לוֹ אָח מַמְזֵר — אֲסוּרוֹת לָאֵלּוּ וְלָאֵלּוּ. וּשְׁאָר כָּל הַנָּשִׁים מֻתָּרוֹת לְבַעֲלֵיהֶן וּלְיִבְמֵיהֶן.
These are [the ones] permitted to their yavam but forbidden to their husbands: A Kohen Gadol who betrothed a widow, and who has a brother [who is] an ordinary Kohen; a qualified Kohen who married a chalalah, and who has a brother [who is] a chalal; a Yisrael who married a mamzeress, and who has a brother [who is] a mamzer; a mamzer who married the daughter of a Yisrael who has a brother [who is] a Yisrael —- [these are] permitted to their yavam, but forbidden to their husbands.  [These are the ones] forbidden to both: A Kohen Gadol who married a widow and who has a brother [who is either] a Kohen Gadol or an ordinary Kohen; a qualified Kohen who married a chalalah and who has a brother [who is] qualified; a Yisrael who married a mamzeress and who has a brother [who is] a Yisrael; a mamzer who married the daughter of a Yisrael and who has a brother [who is] a mamzer —- [these are] forbidden to both. All other women are permitted to their husbands and to their yavam.