149 Yevamot 7/5-6

(ה) הָאוֹנֵס, וְהַמְפַתֶּה, וְהַשּׁוֹטֶה, לֹא פוֹסְלִים וְלֹא מַאֲכִילִים. וְאִם אֵינָם רְאוּיִין לָבֹא בְיִשְׂרָאֵל, הֲרֵי אֵלּוּ פוֹסְלִין. כֵּיצַד, יִשְׂרָאֵל שֶׁבָּא עַל בַּת כֹּהֵן, תֹּאכַל בַּתְּרוּמָה. עִבְּרָה, לֹא תֹאכַל בַּתְּרוּמָה. נֶחְתַּךְ הָעֻבָּר בְּמֵעֶיהָ, תֹּאכַל. כֹּהֵן שֶׁבָּא עַל בַּת יִשְׂרָאֵל, לֹא תֹאכַל בַּתְּרוּמָה. עִבְּרָה, לֹא תֹאכַל. יָלְדָה, תֹּאכַל. נִמְצָא כֹּחוֹ שֶׁל בֵּן גָּדוֹל מִשֶּׁל אָב. הָעֶבֶד פּוֹסֵל מִשּׁוּם בִּיאָה, וְאֵינוֹ פוֹסֵל מִשּׁוּם זָרַע. כֵּיצַד, בַּת יִשְׂרָאֵל לְכֹהֵן, בַּת כֹּהֵן לְיִשְׂרָאֵל, וְיָלְדָה הֵימֶנּוּ בֵן, וְהָלַךְ הַבֵּן וְנִכְבַּשׁ עַל הַשִּׁפְחָה, וְיָלְדָה הֵימֶנּוּ בֵן, הֲרֵי זֶה עֶבֶד. הָיְתָה אֵם אָבִיו בַּת יִשְׂרָאֵל לְכֹהֵן לֹא תֹאכַל בַּתְּרוּמָה. בַּת כֹּהֵן לְיִשְׂרָאֵל, תֹּאכַל בַּתְּרוּמָה. מַמְזֵר פּוֹסֵל וּמַאֲכִיל. כֵּיצַד, בַּת יִשְׂרָאֵל לְכֹהֵן, וּבַת כֹּהֵן לְיִשְׂרָאֵל, וְיָלְדָה הֵימֶנּוּ בַת, וְהָלְכָה הַבַּת וְנִשֵּׂאת לְעֶבֶד, אוֹ לְגוֹי, וְיָלְדָה הֵימֶנּוּ בֵן, הֲרֵי זֶה מַמְזֵר. הָיְתָה אֵם אִמּוֹ בַת יִשְׂרָאֵל לְכֹהֵן, תֹּאכַל בַּתְּרוּמָה. בַּת כֹּהֵן לְיִשְׂרָאֵל, לֹא תֹאכַל בַּתְּרוּמָה:

(ו) כֹּהֵן גָּדוֹל פְּעָמִים שֶׁהוּא פוֹסֵל. כֵּיצַד, בַּת כֹּהֵן לְיִשְׂרָאֵל, וְיָלְדָה הֵימֶנּוּ בַת, וְהָלְכָה הַבַּת וְנִסֵּת לְכֹהֵן, וְיָלְדָה הֵימֶנּוּ בֵן, הֲרֵי זֶה רָאוּי לִהְיוֹת כֹּהֵן גָּדוֹל עוֹמֵד וּמְשַׁמֵּשׁ עַל גַּבֵּי הַמִּזְבֵּחַ, מַאֲכִיל אֶת אִמּוֹ וּפוֹסֵל אֶת אֵם אִמּוֹ, וְזֹאת אוֹמֶרֶת, לֹא כִבְנִי כֹּהֵן גָּדוֹל, שֶׁהוּא פּוֹסְלֵנִי מִן הַתְּרוּמָה:

(5) The rapist, and the seducer, and the shoteh do not disqualify and do not confer the right to eat. And if they are not eligible to enter [marry into the nation of] Israel they do disqualify. How so? [If] an Israelite had relations with the daughter of a priest, she may eat Terumah. [If] she became pregnant, she may not eat Terumah. If the unborn child was cut up inside her womb she may eat [Terumah]. [If] a priest had relations with the daughter of an Israelite she may not eat Terumah. [If] she became pregnant, she may not eat [Terumah]. [If] she gave birth she may eat [Terumah]. What emerges is that the power of the son is greater than that of the father. The slave disqualifies due to having relations, but does not disqualify due to children. How so? [If] the daughter of an Israelite [was married] to a priest, or [if] the daughter of a priest [was married] to an Israelite, and she bore him son, and that son went and had relations with a maidservant who bore him a son, then he is a slave. [If] his father's mother was the daughter of an Israelite [married] to a priest, she may not eat Terumah; but [if] she were the daughter of a priest [married] to an Israelite she may eat Terumah. A Mamzer [the offspring of a severely prohibited union between a Jewish man and woman] disqualifies and confers the right to eat. How so? [If] the daughter of an Israelite [was married] to a priest, or a priest's daughter [was married] to an Israelite, and she bore him a daughter, and the daughter went and married a slave or a gentile, and bore him a son, the son is a Mamzer. [If] his mother's mother was the daughter of an Israelite [married] to a priest, she may eat Terumah. [If] she was a priest's daughter [married] to an Israelite she may not eat Terumah.

(6) A High Priest may occasionally disqualify. How so? [If] a priest's daughter [was married] to an Israelite, and she bore him a daughter, and that daughter went and married a priest, and bore him a son - he [that son] is eligible to be a High Priest, to stand and minister on the altar; he confers the right to eat [Terumah] on his mother but disqualifies his mother's mother, who may well say: "May there not be like my grandson the High Priest who disqualifies me from eating Terumah."