Leviticus 24:21-23 New International Reader's Version (NIRV)
21 Whoever kills an animal must pay its owner. But if they kill a human being, they must be put to death. 22 The same law applies whether they are an outsider or an Israelite. I am the Lord your God.’ ”
23 Then Moses spoke to the Israelites. They got the man who had spoken evil things against the Lord. They took him outside the camp. There they killed him by throwing stones at him. The Israelites did just as the Lord had commanded Moses.