Deuteronomy 18:15-20
18:15 The LORD your God will raise up for you a prophet like me from
among your own people; you shall heed such a prophet.
18:16 This is what you requested of the LORD your God at Horeb on the day of the assembly when you said: "If I hear the voice of the LORD my God any more, or ever again see this great fire, I will die."
18:17 Then the LORD replied to me: "They are right in what they have said.
18:18 I will raise up for them a prophet like you from among their own people; I will put my words in the mouth of the prophet, who shall speak to them everything that I command.
18:19 Anyone who does not heed the words that the prophet shall speak in my name, I myself will hold accountable.
18:20 But any prophet who speaks in the name of other gods, or who presumes to speak in my name a word that I have not commanded the prophet to speak--that prophet shall die."