Leviticus 24:21-23 GOD’S WORD Translation (GW)
21 Whoever kills an animal must replace it. Whoever kills a person must be put to death. 22 The same rule applies to every one of you. It makes no difference whether you are a foreigner or an Israelite, because I am the Lord your God.”
23 Moses spoke to the people of Israel. So the man who had cursed the Lord’s name was taken outside the camp. There they stoned him to death as the Lord commanded Moses. The Israelites did as the Lord commanded Moses.