So the whole congregation took him outside the camp and stoned him to death, just as Yahweh had commanded Moses.
In context
34They put him in custody, because it had not been made clear what should be done to him. 35Then Yahweh said to Moses, “The man must surely be put to death. The whole congregation shall stone him with stones outside the camp.” 36So the whole congregation took him outside the camp and stoned him to death, just as Yahweh had commanded Moses. 37Yahweh spoke to Moses. He said, 38“Speak to the Israelites and tell them to make tassels for themselves on the corners of their garments, throughout their generations, and to put a blue cord on the tassel at each corner.