Leviticus 24:21-23 New English Translation (NET Bible)
21 One who beats an animal to death[a] must make restitution for it, but[b] one who beats a person to death must be put to death. 22 There will be one regulation[c] for you, whether a resident foreigner[d] or a native citizen, for I am the Lord your God.’”
23 Then Moses spoke to the Israelites and they brought the one who cursed outside the camp and stoned him with stones. So the Israelites did just as the Lord had commanded Moses.