Num 25:5

5And Moses said to the judges of Israel, “Each of you shall kill any of your people who have yoked themselves to the Baal of Peor.”