The Rambam · Sefer Kedushah
הלכות איסורי ביאה א׳Forbidden Intercourse 1
Chapter 1 of 22 in Forbidden Intercourse — 23 halachot
Halacha 1א׳
הַבָא עַל אַחַת מִכָּל הָעֲרָיוֹת הָאֲמוּרוֹת בַּתּוֹרָה בְּמֵזִיד חַיָּב כָּרֵת שֶׁנֶּאֱמַר (ויקרא יח כט) "כִּי כָּל אֲשֶׁר יַעֲשֶׂה מִכּל הַתּוֹעֵבוֹת הָאֵלֶּה וְנִכְרְתוּ הַנְּפָשׁוֹת" וְגוֹ' שְׁנֵיהֶם הַבּוֹעֵל וְהַנִּבְעֶלֶת. וְאִם הָיוּ שׁוֹגְגִין חַיָּבִין חַטָּאת קְבוּעָה. וְיֵשׁ מִן הָעֲרָיוֹת שֶׁהוּא בְּמִיתַת בֵּית דִּין יֶתֶר עַל הַכָּרֵת הַשָּׁוֶה בְּכֻלָּן:
One who has intercourse with any one of the forbidden unions spoken of in the Torah, wilfully, is liable to excision, as it is said (Leviticus 18:29), "For whoever shall do any of these abominations, even the souls that do them shall be cut off," and so forth — the two of them, the man who has intercourse and the woman with whom it is had. And if they acted in error, they are liable to a fixed sin-offering. And there are among the forbidden unions some that carry death at the hands of the court beyond the excision that is common to all of them.
Halacha 2ב׳
אוֹתָן הָעֲרָיוֹת שֶׁיֵּשׁ בָּהֶן מִיתַת בֵּית דִּין אִם הָיוּ שָׁם עֵדִים וְהַתְרָאָה וְלֹא פָּרְשׁוּ מִמַּעֲשֵׂיהֶם מְמִיתִין אוֹתָן מִיתָה הָאֲמוּרָה בָּהֶן:
Those forbidden unions that carry death at the hands of the court: if there were witnesses there and a warning, and they did not desist from their deeds, they put them to the death that is spoken of concerning them.
Halacha 3ג׳
וַאֲפִלּוּ הָיָה הָעוֹבֵר תַּלְמִיד חָכָם אֵין מְמִיתִין וְלֹא מַלְקִין עַד שֶׁתִּהְיֶה שָׁם הַתְרָאָה. שֶׁלֹּא נִתְּנָה הַתְרָאָה בְּכָל מָקוֹם אֶלָּא לְהַבְחִין בֵּין שׁוֹגֵג לְמֵזִיד:
And even if the transgressor was a Torah scholar, they do not put him to death and do not flog him unless there was a warning there; for warning was given in every place only to distinguish between one who acts in error and one who acts wilfully.
Mishneh Torah, Torat Emet 363 edition, via Sefaria — public domain
English: rendered from the Hebrew for this app — our own, not a borrowed translation