Numbers 15:32-36
15:32 When the Israelites were in the wilderness they found a man gathering wood on the Sabbath day.
15:33 Those who found him gathering wood brought him to Moses and Aaron and to the whole community.
15:34 They put him in custody, because there was no clear instruction about what should be done to him.
15:35 Then the Lord said to Moses, “The man must surely be put to death; the whole community must stone him with stones outside the camp.”
15:36 So the whole community took him outside the camp and stoned him to death, just as the Lord commanded Moses.