There was a man whose father was an Egyptian and whose mother was an Israelite named Shelomith, the daughter of Dibri from the tribe of Dan. There in the camp this man quarreled with an Israelite. During the quarrel he cursed the Lord, so they took him to Moses,
put him under guard, and waited for the Lord to tell them what to do with him.
The Lord said to Moses,
"Take that man out of the camp. Everyone who heard him curse shall put his hands on the man's head to testify that he is guilty, and then the whole community shall stone him to death.
Then tell the people of Israel that anyone who curses God must suffer the consequences
and be put to death. Any Israelite or any foreigner living in Israel who curses the Lord shall be stoned to death by the whole community.
"Any who commit murder shall be put to death, 1
References for Leviticus 24:17
24.17 Ex 21.12.
and any who kill an animal belonging to someone else must replace it. The principle is a life for a life.
"If any of you injure another person, whatever you have done shall be done to you.
If you break a bone, one of your bones shall be broken; if you put out an eye, one of your eyes shall be put out; if you knock out a tooth, one of your teeth shall be knocked out. Whatever injury you cause another person shall be done to you in return. 2
References for Leviticus 24:20
24.20 Ex 21.23-25; Dt 19.21; Mt 5.38.
Whoever kills an animal shall replace it, but whoever kills a human being shall be put to death.
This law applies to all of you, to Israelites and to foreigners living among you, because I am the Lord your God." 3
References for Leviticus 24:22
24.22 Nu 15.16.
When Moses had said this to the people of Israel, they took the man outside the camp and stoned him to death. In this way the people of Israel did what the Lord had commanded Moses.