Deuteronomy 21:21 GW

21 ll the men of the city should stone him to death. You must get rid of this evil. When all Israel hears about it, they will be afraid.