Leviticus 24:23

Amplified Bible (AMP)
Then Moses spoke to the Israelites, and they brought the one who had cursed [the Lord] outside the camp and stoned him with stones. Thus the Israelites did just as the Lord had commanded Moses.

Read Leviticus 24:23 in other translations