Deuteronomy 22:24

ISV(i) 24 then the two must be brought to the city gate and there they must be stoned to death—the girl because she was in a city but did not cry out for help, and the man who abused a woman who was engaged to another man. By doing this you are to remove this evil from among you.