10There came out among the Israelites one whose mother was Israelite and whose father was Egyptian. And a fight broke out in the camp between that half-Israelite and a certain Israelite. 11The son of the Israelite woman pronounced the Name in blasphemy, and he was brought to Moses—now his mother’s name was Shelomith daughter of Dibri of the tribe of Dan—12and he was placed in custody, until the decision of the Lord should be made clear to them.

13And the Lord spoke to Moses, saying- 14Take the blasphemer outside the camp; and let all who were within hearing lay their hands upon his head, and let the whole community stone him.
15And to the Israelite people speak thus- Anyone who blasphemes his God shall bear his guilt; 16if he also pronounces the name Lord, he shall be put to death. The whole community shall stone him; stranger or citizen, if he has thus pronounced the Name, he shall be put to death.

17If anyone kills any human being, he shall be put to death. 18One who kills a beast shall make restitution for it- life for life. 19If anyone maims his fellow, as he has done so shall it be done to him- 20fracture for fracture, eye for eye, tooth for tooth. The injury he inflicted on another shall be inflicted on him. 21One who kills a beast shall make restitution for it; but one who kills a human being shall be put to death. 22You shall have one standard for stranger and citizen alike- for I the Lord am your God.
23Moses spoke thus to the Israelites. And they took the blasphemer outside the camp and pelted him with stones. The Israelites did as the Lord had commanded Moses.

Tanakh, The Holy Scriptures, (Philadelphia, Jerusalem- Jewish Publication Society) 1985.