Numbers 15:33-35
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.”