Leviticus 24:21-23 Common English Bible (CEB)
21 Someone who kills an animal must make amends for it, but whoever kills a human being must be executed. 22 There is but one law on this matter for you, immigrant or citizen alike, because I am the Lord your God.
23 Moses told this to the Israelites. So they took the one who had cursed outside the camp and stoned him. The Israelites did just as the Lord commanded Moses.