Leviticus 24:16

16 One who blasphemes the name of the Lord shall be put to death; the whole congregation shall stone the blasphemer. Aliens as well as citizens, when they blaspheme the Name, shall be put to death.

Leviticus 24:16 In-Context

14 Take the blasphemer outside the camp; and let all who were within hearing lay their hands on his head, and let the whole congregation stone him.
15 And speak to the people of Israel, saying: Anyone who curses God shall bear the sin.
16 One who blasphemes the name of the Lord shall be put to death; the whole congregation shall stone the blasphemer. Aliens as well as citizens, when they blaspheme the Name, shall be put to death.
17 Anyone who kills a human being shall be put to death.
18 Anyone who kills an animal shall make restitution for it, life for life.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.