Leviticus 24:21-23 World English Bible (WEB)
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 him who had cursed out of the camp, and stoned him with stones. The children of Israel did as Yahweh commanded Moses.