24 then ye shall bring them both out unto the gate of that city, and ye shall stone them to death with stones; the damsel, because she cried not, being in the city; and the man, because he hath humbled his neighbor's wife: so thou shalt put away the evil from the midst of thee.

Matthew Henry's Commentary on Deuteronomy 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.