Read this passage and open each verse for the full verse feed and commentary tools.
32While the children of Israel were in the wilderness, they found a man gathering sticks on the Sabbath day. 33Those who found him gathering sticks brought him to Moses and Aaron, and to all the congregation. 34They put him in custody, because it had not been declared what should be done to him. 35Yahweh said to Moses, The man shall surely be put to death: all the congregation shall stone him with stones outside of the camp. 36All the congregation brought him outside of the camp, and stoned him to death with stones; as Yahweh commanded Moses.
Numbers 15:32-36 (WEB)