The son of an Israelite mother and an Egyptian father came out among the Israelites. A fight broke out between this half-Israelitea and another Israelite man in the camp,
during which the half-Israelite blasphemed the Lord's name and cursed. So he was brought to Moses. (His mother's name was Shelomith, Dibri's daughter from the tribe of Dan.)
He was put under guard until they could determine the LORD's verdict.
Then the LORD said to Moses:
Take the one who cursed outside the camp. All who heard him will press their hands on his head. Then the whole community will stone him.
Tell the Israelites: Anyone who curses his God will be liable to punishment.
And anyone who blasphemes the LORD's name must be executed. The whole community will stone him. Immigrant and citizen alike: whenever someone blasphemes the Lord's name, they will be executed.
If anyone kills another person, they must be executed.
Someone who kills an animal may make amends for it: a life for a life.
If someone injures a fellow citizen, they will suffer the same injury they inflicted:
broken bone for broken bone, an eye for an eye, a tooth for a tooth. The same injury the person inflicted on the other will be inflicted on them.
Someone who kills an animal must make amends for it, but whoever kills a human being must be executed.
There is but one law on this matter for you, immigrant or citizen alike, because I am the LORD your God.
Moses told this to the Israelites. So they took the one who had cursed outside the camp and stoned him. The Israelites did just as the LORD commanded Moses.