Moses
Deuteronomy 22:21ESV·traditional attribution

then they shall bring out the young woman to the door of her father’s house, and the men of her city shall stone her to death with stones, because she has done an outrageous thing in Israel by whoring in her father’s house. So you shall purge the evil from your midst.

Matthew Henry Presbyterian @wholebiblehenry

These laws relate to the seventh commandment, laying a restraint by laying a penalty upon those fleshly lusts which war against the soul. I. If a man, lusting after another woman, to get rid of his wife slander her and falsely accuse her, as not having the virginity she pretended to when he married her, upon the disproof of his slander he must be punished, Deu 22:13-19.

Commenting on Deuteronomy 22:13-30

John Gill Reformed Baptist @doctorgill

If a man be found lying with a woman married to an husband,..... This law respects adultery, and is the same with that in Lev 20:10. then they shall both of them die; with the strangling of a napkin, as the Targum of Jonathan, which is the death such persons were put to; and is always meant when death is simply spoken of, and it...

Keil & Delitzsch Lutheran @keilanddelitzsch

Deu 22:20-21 In the other case, however, if the man’s words were true, and the girl had not been found to be a virgin, the elders were to bring her out before the door of her father’s house, and the men of the town were to stone her to death, because she had committed a folly in Israel (cf. Gen 34:7), to commit fornication in her father’s house.

Commenting on Deuteronomy 22:20-21