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.”
Hadith No. 3893
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Zubair Ali Zai:
Sahih Bukhari