2 occurrences across the corpus

The Babylonian Talmud

Babylonian Talmud Makkot 2:164

If his judgment was finalized and subsequently the [high] priest was found to be the son of a divorcee or the son of a woman who received chalitzah, the matter is subject to a dispute between Rebbi Ami and Rebbi Yitzchak Nafkah. One says, [It is comparable to a case where] the priesthood died, and one says, [It is comparable to a case where] the priesthood got disqualified [retroactively].

Babylonian Talmud Makkot 2:165

Let us say that they are arguing the same dispute as Rebbi Eliezer and Rebbi Yehoshua. That we learned in a mishna, If he [the priest] was standing and sacrificing upon the alter, acc it became known that he was the son of a divorcee or the son of a woman who received chalitzah, Rebbi Eliezer says, All of the sacrifices that he ever brought are [retroactively] disqualified. And Rebbi Yehoshua validates then.