"And he said: Do not stretch out your hand." Abraham said to him: Perhaps you are Ha-Satan, and you seek to deceive me. He said to him: No, rather I am an emissary of the Holy One, blessed be He, who does not desire a human sacrifice. And so Ha-Satan said to Abraham: Thus I heard from behind the curtain — "a lamb for the burnt offering," and not Isaac for the burnt offering. Abraham said to him: All the dealings of a liar are such that even when he speaks the truth, he is not heeded. Therefore the Holy One, blessed be He, revealed Himself to him and said, "By Myself I have sworn," and so forth. "And do not do anything to him." Abraham said: Let me bring forth from him a drop of blood, and it will be reckoned as though I had slaughtered him. The angel said to him: But does the Holy One, blessed be He, not know that Abraham feared the Lord? Rather, "now I know" — I have made known to all the world that you have done My will, until they will say: It is just that He cut a covenant with Abraham and with his seed; and all will know that everything I do well for Abraham, I do in justice.
Abraham Doubts the Angel at the Binding of Isaac
Midrash Aggadah, Genesis 22:12
ויאמר אל תשלח ידך. אמר לו אברהם שמא שטן אתה ואתה מבקש להטעותי, אמר לו לא, אלא שליח של הקב"ה אני שאינו חפץ בקרבן אדם, וכן אמר השטן לאברהם כך שמעתי מאחורי הפרגוד שה לעולה ולא יצחק לעולה, אמר לו אברהם כל עסקיו של בדאי אפילו אומר אמת אין שומעין לו, לפיכך נגלה הקב"ה עליו ואמר בי נשבעתי וגו': ואל תעש לו מאומה. אמר אברהם אוציא ממנו טיפת דם ויחשב כאילו שחטתיו, אמר לו המלאך וכי אין הקב"ה יודע שאברהם היה ירא את ה' אלא עתה ידעתי הודעתי לכל העולם שעשית רצוני עד שיאמרו דין הוא שכרת ברית את אברהם ועם זרעו וידעו הכל כי כל מה שאני מטיב לאברהם בדין אני עושה: