וְאִ֗ישׁ אֲשֶׁ֨ר יִשְׁכַּ֤ב אֶת־זָכָר֙ מִשְׁכְּבֵ֣י אִשָּׁ֔ה תּוֹעֵבָ֥ה עָשׂ֖וּ שְׁנֵיהֶ֑ם מ֥וֹת יוּמָ֖תוּ דְּמֵיהֶ֥ם בָּֽם׃
И если мужчина лжет с человечеством, как и с женщиной, оба они совершили мерзость: они непременно будут преданы смерти; их кровь будет на них.
Mishnah Yevamot
One who has intercourse with his yevamah, whether in error or with presumption, whether under compulsion or of his own free will, even if he acted in error and she in presumption, or he in presumption and she in error, or he under compulsion and she not under compulsion, or she under compulsion and he not under compulsion, whether he only began to have intercourse or he completed having intercourse, he has acquired her as a wife. The laws do not make a distinction between different types of intercourse.
Mishnah Yevamot
Similarly, one who has intercourse with any of the forbidden relatives listed in the Torah, or with any of those who are disqualified to marry him as, for instance, a widow to a high priest, a divorced woman or a halutzah to a common priest, a mamzeret or a netinah to an Israelite or the daughter of an Israelite to a mamzer or a nathin, he has disqualifed [her from marrying a priest], and the laws do not make a distinction between different types of intercourse.