Deuteronomy 18:20 NIV

20 But a prophet who presumes to speak in my name anything I have not commanded him to say, or a prophet who speaks in the name of other gods,1 must be put to death."2

References for Deuteronomy 18:20