So Moses spoke to the Israelites, and they took the one who had cursed outside the camp and stoned him. The Israelites did just as Yahweh had commanded Moses.
In context
21Whoever kills an animal is to make restitution for it, but whoever kills a human being is to be put to death. 22You are to have the same law for the foreigner as for the native-born, for I am Yahweh your God.” 23So Moses spoke to the Israelites, and they took the one who had cursed outside the camp and stoned him. The Israelites did just as Yahweh had commanded Moses.