1הזהיר שלא יבא ממזר על בת ישראל. והוא אמרו לא יבא ממזר בקהל ה', והעובר על לאו זה לוקה. וכבר התבארו משפטי מצוה זו בשמיני מיבמות וסוף קדושין. (כי תצא, שם):
He prohibited - that a mamzer (one born from certain forbidden unions - see the end of the previous commandment) not have sexual intercourse with an Israelite. And that is His saying, "A mamzer shall not come into the congregation of the Lord" (Deuteronomy 23:3). And one who transgresses this negative commandment is lashed; and the regulations of this commandment have already been explained in the eighth [chapter] of Yevamot and at the end of Kiddushin. (See Parashat Ki Tetzeh; Mishneh Torah, Forbidden Intercourse.)
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