Sahih al-Bukhari, Book 91, Hadith 2 (Bukhari 6725)

Narrated Anas bin Malik:

Allah's Messenger (ﷺ) said, "A good dream (that comes true) of a righteous man is one of forty-six parts of prophetism."