1שהזהירנו שלא להרחיק המצרים ולתעב את חתנותם אחר הכנסם בדת. והוא אמרו יתעלה לא תתעב מצרי דור שלישי וגו'. וכבר התבארו משפטי מצוה זו ומצות אדומי בשמיני ביבמות וסוף קדושין. (כי תצא למלחמה, קדושה הלכות איסורי ביאה שם):
That He prohibited us - not to distance the Egyptians and to abhor marriage to them, after they have entered the [Jewish] religion. And that is His, may He be exalted, saying, "you shall not abhor an Egyptian [... in] the third generation" (Deuteronomy 23:8-9). And the regulations of this commandment and the commandment about the Edomite have already been explained in the eighth [chapter] of Yevamot and at the end of Kiddushin. (See Parashat Ki Tetzei; Mishneh Torah, Forbidden Sexual Intercourse 12.)
The Rambam's count of the 613 mitzvos. English: Rabbi Francis Nataf, Sefaria 2021 (CC-BY). Hebrew: Warsaw 1883. Via Sefaria. All the library · Jer’s Torah Page