22 If a man is taken in the act of going in to a married woman, the two of them, the man as well as the woman, are to be put to death: so you are to put away the evil from Israel. 23 If a young virgin has given her word to be married to a man, and another man meeting her in the town, has connection with her; 24 Then you are to take the two of them to the doorway of the town, and have them stoned to death; the young virgin, because she gave no cry for help, though it was in the town, and the man, because he has put shame on his neighbour's wife: so you are to put away evil from among you.
Matthew Henry's Commentary on Deuteronomy 22:22-24
Commentary on Deuteronomy 22:13-30
(Read Deuteronomy 22:13-30)
These and the like regulations might be needful then, and yet it is not necessary that we should curiously examine respecting them. The laws relate to the seventh commandment, laying a restraint upon fleshly lusts which war against the soul.