Deuteronomy 22:20-24 English Revised Version (ERV)

20. But if this thing be true, that the tokens of virginity were not found in the damsel:

21. then they shall bring out the damsel to the door of her father's house, and the men of her city shall stone her with stones that she die: because she hath wrought folly in Israel, to play the harlot in her father's house: so shalt thou put away the evil from the midst of thee.

22. If a man be found lying with a woman married to an husband, then they shall both of them die, the man that lay with the woman, and the woman: so shalt thou put away the evil from Israel.

23. If there be a damsel that is a virgin betrothed unto an husband, and a man find her in the city, and lie with her;

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

Deuteronomy 22