Num 15:32-36

Penalty for Violating the Sabbath 32When the Israelites were in the wilderness, they found a man gathering sticks on the sabbath day.33Those who found him gathering sticks brought him to Moses, Aaron, and to the whole congregation.34They put him in custody, because it was not clear what should be done to him.35Then the Lord said to Moses, “The man shall be put to death; all the congregation shall stone him outside the camp.”36The whole congregation brought him outside the camp and stoned him to death, just as the Lord had commanded Moses.