Sunan Ibn Majah, Book 35, Hadith 1 (Ibn Majah 3895)

It was narrated from Anas bin Malik that the Messenger of Allah (ﷺ) said:

“A good dream from a righteous man is one of the forty-six parts of prophecy.”