22 'When a man is found lying with a woman, married to a husband, then they have died even both of them, the man who is lying with the woman, also the woman; and thou hast put away the evil thing out of Israel. 23 'When there is a damsel, a virgin, betrothed to a man, and a man hath found her in a city, and lain with her; 24 then ye have brought them both out unto the gate of that city, and stoned them with stones, and they have died:—the damsel, because that she hath not cried, 'being' in a city; and the man, because that he hath humbled his neighbour's wife; and thou hast put away the evil thing out of thy midst.
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.