Leviticus 24:10-23 - Punishment For Blasphemy
10 Now the son of an Israelite woman, whose father was an Egyptian, went out among the Israelites, and he and a man of Israel quarreled and strove together in the camp. 11 The Israelite woman's son blasphemed the Name [of the Lord] and cursed. They brought him to Moses -- "his mother was Shelomith, the daughter of Dibri, of the tribe of Dan. 12 And they put him in custody until the will of the Lord might be declared to them.
13 And the Lord said to Moses, 14 Bring him who has cursed out of the camp, and let all who heard him lay their hands upon his head; then let all the congregation stone him. 15 And you shall say to the Israelites, Whoever curses his God shall bear his sin. 16 And he who blasphemes the Name of the Lord, he shall surely be put to death, and all the congregation shall certainly stone him; the stranger as well as he who was born in the land shall be put to death when he blasphemes the Name [of the Lord].
17 And he who kills any man shall surely be put to death. 18 And he who kills a beast shall make it good, beast for beast. 19 And if a man causes a blemish or disfigurement on his neighbor, it shall be done to him as he has done: 20 Fracture for fracture, eye for eye, tooth for tooth; as he has caused a blemish or disfigurement on a man, so shall it be done to him. 21 He who kills a beast shall replace it; he who kills a man shall be put to death. 22 You shall have the same law for the sojourner among you as for one of your own nationality, for I am the Lord your God.
23 Moses spoke to the Israelites, and they brought him who had cursed out of the camp and stoned him with stones. Thus the Israelites did as the Lord commanded Moses.