Leviticus 24:21-23 Amplified Bible, Classic Edition (AMPC)
21 He who kills a beast shall replace it; he who kills a man shall be put to death.
22 You shall have the same law for the sojourner among you as for one of your own nationality, for I am the Lord your God.
23 Moses spoke to the Israelites, and they brought him who had cursed out of the camp and stoned him with stones. Thus the Israelites did as the Lord commanded Moses.
Leviticus 24:21-23 New International Version (NIV)
21 Whoever kills an animal must make restitution, but whoever kills a human being is to be put to death. 22 You are to have the same law for the foreigner and the native-born. I am the Lord your God.’”
23 Then Moses spoke to the Israelites, and they took the blasphemer outside the camp and stoned him. The Israelites did as the Lord commanded Moses.