Leviticus 24:15

15 Then tell the people of Isra'el, 'Whoever curses his God will bear the consequences of his sin;

Leviticus 24:15 In-Context

13 ADONAI said to Moshe,
14 "Take the man who cursed outside the camp, have everyone who heard him lay their hands on his head, and have the entire community stone him.
15 Then tell the people of Isra'el, 'Whoever curses his God will bear the consequences of his sin;
16 and whoever blasphemes the name of ADONAI must be put to death; the entire community must stone him. The foreigner as well as the citizen is to be put to death if he blasphemes the Name.
17 "'Anyone who strikes another person and kills him must be put to death.
Complete Jewish Bible Copyright 1998 by David H. Stern. Published by Jewish New Testament Publications, Inc. All rights reserved. Used by permission.