Numbers 15:35

Then the LORD said to Moses, "The man must surely be put to death; all the congregation shall stone him with stones outside the camp."

Surrounding context

15:34 They put him under guard, because it had not been explained what should be done to him.

15:35 Then the LORD said to Moses, "The man must surely be put to death; all the congregation shall stone him with stones outside the camp."

15:36 So, as the LORD commanded Moses, all the congregation brought him outside the camp and stoned him with stones, and he died.

Translation and sources