Sahih al-Bukhari, Book 91, Hadith 8 (Bukhari 6731)

Narrated Abu Sa`id Al-Khudri:

I heard Allah's Messenger (ﷺ) saying, "A good dream is a part of the forty six parts of prophetism."