22 If a man be found lying with a woman married to a husband, then they shall both of them die, the man who lay with the woman, and the woman: so you shall put away the evil from Israel. 23 If there is a young lady who is a virgin pledged to be married to a husband, and a man find her in the city, and lie with her; 24 then you shall bring them both out to the gate of that city, and you shall stone them to death with stones; the lady, because she didn’t cry, being in the city; and the man, because he has humbled his neighbor’s wife: so you shall put away the evil from the midst of 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.