Deuteronomy 22:23-24

Thomson(i) 23 If a virgin be betrothed to a husband; and a man find her in a city, and lie with her, 24 you shall bring them both out to the gate of the city, and stone them with stones, till they die: the young woman, because she did not cry aloud in the city, and the man because he humbled the wife of his neighbour. So thou shalt remove evil from among you.