Leviticus 24:15-16

YLT(i) 15 `And unto the sons of Israel thou dost speak, saying, When any man revileth his God—then he hath borne his sin; 16 and he who is execrating the name of Jehovah is certainly put to death; all the company do certainly cast stones at him; as a sojourner so a native, in his execrating the Name, is put to death.