Hebrew Bible

Deuteronomy 18:18

16 This accords with what happened at Horeb in the day of the assembly. You asked the Lord your God: “Please do not make us hear the voice of the Lord our God anymore or see this great fire anymore lest we die.” 17 The Lord then said to me, “What they have said is good. 18 I will raise up a prophet like you for them from among their fellow Israelites. I will put my words in his mouth and he will speak to them whatever I command. 19 I will personally hold responsible anyone who then pays no attention to the words that prophet speaks in my name. 20 “But if any prophet presumes to speak anything in my name that I have not authorized him to speak, or speaks in the name of other gods, that prophet must die.

Date: 6th Century B.C.E. (Final composition)
* Dates are based on scholarly estimates
New Testament

John 12:49

47 If anyone hears my words and does not obey them, I do not judge him. For I have not come to judge the world, but to save the world. 48 The one who rejects me and does not accept my words has a judge; the word I have spoken will judge him at the last day. 49 For I have not spoken from my own authority, but the Father himself who sent me has commanded me what I should say and what I should speak. 50 And I know that his commandment is eternal life. Thus the things I say, I say just as the Father has told me.”

Date: 90-110 C.E.
* Dates are based on scholarly estimates