(Devarim 22:22) "If there be found (by witnesses) a man lying with a woman cohabited with by a husband": including one who was cohabited with in her father's house": i.e., while betrothed (and not yet married). Variantly: "cohabited with by a husband": R. Yishmael says: Scripture comes to teach us about a yevamah (a woman awaiting levirate marriage) that one who lives with her is not liable (to the death penalty) until he (the yavam) cohabits with her.
(דברים כב כב) כִּי יִמָּצֵא אִישׁ – בְּעֵדִים. שֹׁכֵב עִם אִשָּׁה – כָּל שְׁכִיבָה. בְעֻלַת בַּעַל, לְהָבִיא אֶת שֶׁנִּבְעֲלָה בְּבֵית אָבִיהָ וַעֲדַיִן הִיא אֲרוּסָה.
(Devarim 22:22) "If there be found (by witnesses) a man lying with a woman cohabited with by a husband": including one who was cohabited with in her father's house": i.e., while betrothed (and not yet married). Variantly: "cohabited with by a husband": R. Yishmael says: Scripture comes to teach us about a yevamah (a woman awaiting levirate marriage) that one who lives with her is not liable (to the death penalty) until he (the yavam) cohabits with her.
וּמֵתוּ – בִּסְתָם מִיתָה הָאֲמוּרָה בַּתּוֹרָה, בְּחֶנֶק.
"then they shall die": by the unqualified death penalty of the Torah — strangulation.
שְׁנֵיהֶם, וְלֹא הָעוֹשִׂים מַעֲשֵׂה הִירוֹדָס,
"also both of them": and not one who performs acts of arousal (without intercourse).
כְּשֶׁהוּא אוֹמֵר גַּם שְׁנֵיהֶם לְרַבּוֹת הַבָּאִים מֵאַחֲרֵיהֶם.
"also both of them": to include those who (might) cohabit with her after them.
הָאִישׁ הַשֹּׁכֵב עִם הָאִשָּׁה, וְאַף עַל פִּי שֶׁהִיא קְטַנָּה.
"the man who lay with the woman" — though she be a minor;
וְהָאִשָּׁה, אַף עַל פִּי שֶׁנִּבְעֲלָה לְקָטָן.
"and the woman": even though she cohabited with a minor.
וּבִעַרְתָּ הָרָע, בַּעֵר עוֹשֵׂי הָרָעוֹת מִיִּשְׂרָאֵל!
"and you shall remove the evil": Remove the doers of evil from Israel.