Deuteronomy 22:24

New American Standard Bible (NASB)
then you shall bring them both out to the gate of that city and you shall stone them [n]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.

Read Deuteronomy 22:24 in other translations