Leviticus 24:19-23 World English Bible (WEB)

19. If anyone injures his neighbor; as he has done, so shall it be done to him:

20. fracture for fracture, eye for eye, tooth for tooth; as he has injured someone, so shall it be done to him.

21. He who kills an animal shall make it good; and he who kills a man shall be put to death.

22. You shall have one kind of law for the foreigner as well as the native-born; for I am Yahweh your God.’”

23. Moses spoke to the children of Israel; and they brought out him who had cursed out of the camp, and stoned him with stones. The children of Israel did as Yahweh commanded Moses.

Leviticus 24