Sahih al-Bukhari, Book 91, Hadith 6 (Bukhari 6729)

Narrated 'Ubada bin As-Samit:

The Prophet (ﷺ) said, "The (good) dreams of a faithful believer is a part of the forty-six parts of prophetism:'