Related for Kiddushin 149:3
דתנא קמא סבר כי כהן גדול באלמנה מה כהן גדול באלמנה שביאתו בעבירה ופוסל בה אף כל שביאתו בעבירה פוסל
[and] he disqualifies [the widow]; so all whose issue is unfit disqualify, thus excluding an Egyptian of the second generation, whose issue is not unfit, for the Writ saith, The children of the third generation that are born unto them shall enter into the assembly of the Lord.<span class="x" onmousemove="('comment',' Ibid.');"><sup>4</sup></span> R'Simeon B'Gamaliel said: He whose daughter you, [i.e., a priest] may marry, you may marry his widow; but he whose daughter you may not marry, you may not marry his widow.' Wherein do R'Jose and R'Simeon B'Gamaliel differ? - Said 'Ulla: They differ in respect to an Ammonite and a Moabite proselyte;<span class="x" onmousemove="('comment',' A male proselyte of these peoples may never intermarry with a Jew; a female, however, is permitted. R. Jose holds that his intercourse renders the woman unfit; R. Simeon b. Gamaliel, that it does not.');"><sup>5</sup></span>