וְהֽוֹצֵאתָ֣ אֶת־הָאִ֣ישׁ הַה֡וּא אוֹ֩ אֶת־הָאִשָּׁ֨ה הַהִ֜וא אֲשֶׁ֣ר עָ֠שׂוּ אֶת־הַדָּבָ֨ר הָרָ֤ע הַזֶּה֙ אֶל־שְׁעָרֶ֔יךָ אֶת־הָאִ֕ישׁ א֖וֹ אֶת־הָאִשָּׁ֑ה וּסְקַלְתָּ֥ם בָּאֲבָנִ֖ים וָמֵֽתוּ׃
tu feras conduire aux portes de la ville cet homme ou cette femme, coupable d’un tel crime, l’homme ou la femme! Et tu les lapideras, pour qu’ils meurent sous les pierres.
Sifrei Devarim
"in one of your cities": What is the intent of this? Because it is written (Ibid. 5) "Then you shall take out that man or that woman who did this evil thing, to your cities (lit., "gates"), I might think, the reference is to the gate (i.e., the beth-din) in which he was judged; it is, therefore, written "gates" (verse 2), "gates" (verse 5). Just as "gates" (2) refers to the city in which they were found and not to the gate (beth-din) in which they were judged, so, "gates" (5) refers to the city in which they were found and not to the gate (beth-din) in which they were judged.
Sifrei Devarim
"a man or a woman": What is the intent of this? Because we find with a condemned city (viz. Ibid. 13:16) that (only) many who served (idolatry) are (put to death) by the sword, I might think that the same obtains with individuals (who did so); it is, therefore, written
Sifrei Devarim
(Ibid. 17:4) ("This abomination has been done) in Israel": This tells me only of an Israelite (i.e., that he is to be killed). Whence do I derive (the same for) converts, women, and bondsmen? From (Ibid. 5) "Then you shall take out that man and that woman who did this evil thing".