Deuteronomy 18:18-20

JPS_ASV_Byz(i) 18 I will raise them up a prophet from among their brethren, like unto thee; and I will put My words in his mouth, and he shall speak unto them all that I shall command him. 19 And it shall come to pass, that whosoever will not hearken unto My words which he shall speak in My name, I will require it of him. 20 But the prophet, that shall speak a word presumptuously in My name, which I have not commanded him to speak, or that shall speak in the name of other gods, that same prophet shall die.'