Numbers 15:32-41
While the people 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 in custody, because it had not been made clear what should be done to him. And the Lord said to Moses, “The man shall be put to death; all the congregation shall stone him with stones outside the camp.” And all the congregation brought him outside the camp and stoned him to death with stones, as the Lord commanded Moses.
Here's one with the Lord passing the order-
While the people 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 in custody, because it had not been made clear what should be done to him. And the Lord said to Moses, “The man shall be put to death; all the congregation shall stone him with stones outside the camp.” And all the congregation brought him outside the camp and stoned him to death with stones, as the Lord commanded Moses.
Here's one with the Lord passing the order-