Leviticus 24:10-16 New King James Version (NKJV)
The Penalty for Blasphemy
10 Now the son of an Israelite woman, whose father was an Egyptian, went out among the children of Israel; and this Israelite woman’s son and a man of Israel fought each other in the camp. 11 And the Israelite woman’s son blasphemed the name of the Lord and cursed; and so they brought him to Moses. (His mother’s name was Shelomith the daughter of Dibri, of the tribe of Dan.) 12 Then they put him in custody, that the mind of the Lord might be shown to them.
13 And the Lord spoke to Moses, saying, 14 “Take outside the camp him who has cursed; then let all who heard him lay their hands on his head, and let all the congregation stone him.
15 “Then you shall speak to the children of Israel, saying: ‘Whoever curses his God shall bear his sin. 16 And whoever blasphemes the name of the Lord shall surely be put to death. All the congregation shall certainly stone him, the stranger as well as him who is born in the land. When he blasphemes the name of the Lord, he shall be put to death.
Leviticus 24:10-16 Complete Jewish Bible (CJB)
10 There was a man who was the son of a woman of Isra’el and an Egyptian father. He went out among the people of Isra’el, and this son of a woman of Isra’el had a fight in the camp with a man of Isra’el, 11 in the course of which the son of the woman of Isra’el uttered the Name [Yud-Heh-Vav-Heh] in a curse. So they brought him to Moshe. (His mother’s name was Shlomit the daughter of Dibri, of the tribe of Dan.) 12 They put him under guard until Adonai would tell them what to do. 13 Adonai said to Moshe, 14 “Take the man who cursed outside the camp, have everyone who heard him lay their hands on his head, and have the entire community stone him. 15 Then tell the people of Isra’el, ‘Whoever curses his God will bear the consequences of his sin; 16 and whoever blasphemes the name of Adonai must be put to death; the entire community must stone him. The foreigner as well as the citizen is to be put to death if he blasphemes the Name.