كتاب آداب النوم
4  
The Book of the Etiquette of Sleeping, Lying and Sitting etc
(130)
Chapter: Visions in Dream and matters relating to them
(130)
- باب الرؤيا وما يتعلق بها
Riyad as-Salihin 839
Abu Hurairah (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) said, "He who sees me in his dream will see me in his wakefulness (or he (ﷺ) may have said it is as though he has seen me in a state of wakefulness), for Satan does not appear in my form."

[Al-Bukhari and Muslim ].

وعنه قال‏:‏ قال رسول الله صلى الله عليه وسلم‏:‏ ‏ "‏من رآني في المنام فسيراني في اليقظة -أو كأنما رآني في اليقظة- لا يتمثل الشيطان بي‏"‏ ((مُتَّفَقٌ عَلَيهِ)).‏
Reference : Riyad as-Salihin 839
In-book reference : Book 4, Hadith 27