Numbers 15:32-36 NKJV
Now while the children of Israel were in the wilderness, they found a man gathering sticks on the Sabbath day. And those who found him gathering sticks brought him to Moses and Aaron, and to all the congregation. They put him under guard, because it had not been explained what should be done to him.
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.” So, as the LORD commanded Moses, all the congregation brought him outside the camp and stoned him with stones, and he died.
NKJV: New King James Version