Now the son of an Israelite mother and an Egyptian father was among the Israelites. A fight broke out in the camp between the Israelite woman's son and an Israelite man.
Her son cursed and blasphemed the Name, and they brought him to Moses. (His mother's name was Shelomith, a daughter of Dibri of the tribe of Dan.)
They put him in custody until the Lord's decision could be made clear to them.
Then the Lord spoke to Moses:
"Bring the one who has cursed to the outside of the camp and have all who heard [him] lay their hands on his head; then have the whole community stone him.
And tell the Israelites: If anyone curses his God, he will bear the consequences of his sin.
Whoever blasphemes the name of the Lord is to be put to death; the whole community must stone him. If he blasphemes the Name, he is to be put to death, whether the foreign resident or the native.
"If a man kills anyone, he must be put to death.
Whoever kills an animal is to make restitution for it, life for life.
If any man inflicts a permanent injury on his neighbor, whatever he has done is to be done to him:
fracture for fracture, eye for eye, tooth for tooth. Whatever injury he inflicted on the person, the same is to be inflicted on him.
Whoever kills an animal is to make restitution for it, but whoever kills a person is to be put to death.
You are to have the same law for the foreign resident and the native, because I am the Lord your God."
After Moses spoke to the Israelites, they brought the one who had cursed to the outside of the camp and stoned him. So the Israelites did as the Lord had commanded Moses.