Numbers 15:22-36 ESV
“But if you sin unintentionally, and do not observe all these commandments that the LORD has spoken to Moses, all that the LORD has commanded you by Moses, from the day that the LORD gave commandment, and onward throughout your generations, then if it was done unintentionally without the knowledge of the congregation, all the congregation shall offer one bull from the herd for a burnt offering, a pleasing aroma to the LORD, with its grain offering and its drink offering, according to the rule, and one male goat for a sin offering. And the priest shall make atonement for all the congregation of the people of Israel, and they shall be forgiven, because it was a mistake, and they have brought their offering, a food offering to the LORD, and their sin offering before the LORD for their mistake. And all the congregation of the people of Israel shall be forgiven, and the stranger who sojourns among them, because the whole population was involved in the mistake. “If one person sins unintentionally, he shall offer a female goat a year old for a sin offering. And the priest shall make atonement before the LORD for the person who makes a mistake, when he sins unintentionally, to make atonement for him, and he shall be forgiven. You shall have one law for him who does anything unintentionally, for him who is native among the people of Israel and for the stranger who sojourns among them. But the person who does anything with a high hand, whether he is native or a sojourner, reviles the LORD, and that person shall be cut off from among his people. Because he has despised the word of the LORD and has broken his commandment, that person shall be utterly cut off; his iniquity shall be on him.” 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.