Deuteronomy 22:24
then you shall bring them both out to the gate of that city and you shall stone them to death; the girl, because she did not cry out in the city, and the man, because he has violated his neighbor's wife. Thus you shall purge the evil from among you.