Deuteronomy 22:20-24 Complete Jewish Bible (CJB)
20 “But if the charge is substantiated that evidence for the girl’s virginity could not be found; 21 then they are to lead the girl to the door of her father’s house, and the men of her town will stone her to death, because she has committed in Isra’el the disgraceful act of being a prostitute while still in her father’s house. In this way you will put an end to such wickedness among you.
22 “If a man is found sleeping with a woman who has a husband, both of them must die — the man who went to bed with the woman and the woman too. In this way you will expel such wickedness from Isra’el.
23 “If a girl who is a virgin is engaged to a man, and another man comes upon her in the town and has sexual relations with her; 24 you are to bring them both out to the gate of the city and stone them to death — the girl because she didn’t cry out for help, there in the city, and the man because he has humiliated his neighbor’s wife. In this way you will put an end to such wickedness among you.