Sahih al-Bukhari, Book 91, Hadith 13 (Bukhari 6736)

Narrated Anas:

The Prophet (ﷺ) said, "Whoever has seen me in a dream, then no doubt, he has seen me, for Satan cannot imitate my shape.