Leviticus 24:16-22

24:16 and one who misuses the name of the Lord must surely be put to death. The whole congregation must surely stone him, whether he is a foreigner or a native citizen; when he misuses the Name he must be put to death.

24:17 “‘If a man beats any person to death, he must be put to death. 24:18 One who beats an animal to death must make restitution for it, life for life. 24:19 If a man inflicts an injury on his fellow citizen, just as he has done it must be done to him – 24:20 fracture for fracture, eye for eye, tooth for tooth – just as he inflicts an injury on another person that same injury must be inflicted on him. 24:21 One who beats an animal to death must make restitution for it, but one who beats a person to death must be put to death. 24:22 There will be one regulation for you, whether a foreigner or a native citizen, for I am the Lord your God.’”