Deuteronomy 22:24

:

then you shall bring them both out to the gate of that city, and you shall stone them to death with stones; the lady, because she didn’t cry, being in the city; and the man, because he has humbled his neighbor’s wife: so you shall put away the evil from the midst of you.