Deuteronomy 22:24 NIV

24 you shall take both of them to the gate of that town and stone them to death--the girl because she was in a town and did not scream for help, and the man because he violated another man's wife. You must purge the evil from among you.1

References for Deuteronomy 22:24