كتاب آداب النوم
4  
The Book of the Etiquette of Sleeping, Lying and Sitting etc
(130)
Chapter: Visions in Dream and matters relating to them
(130)
- باب الرؤيا وما يتعلق بها
Riyad as-Salihin 838
Abu Hurairah (May Allah be pleased with him) reported:
The Prophet (ﷺ) said, "When the time draws near (i.e., near the end of the world), the dream of a believer can hardly be false; and the dream of a believer represents one part from forty-six parts of Prophethood."

[Al-Bukhari and Muslim].

One narration says: Messenger of Allah (ﷺ) said, "The most truthful of you in their speech are those who see the truest visions."

وعنه أن النبي صلى الله عليه وسلم قال‏:‏ ‏"‏إذا اقترب الزمان لم تكد رؤيا المؤمن تكذب، ورؤيا المؤمن جزء من ستة وأربعين جزءاً من النبوة‏"‏ ((مُتَّفَقٌ عَلَيهِ))‏.‏ ‏

‏وفى رواية‏:‏ ‏"‏أصدقكم رؤيا أصدقكم حديثاً‏"‏‏.‏

Reference : Riyad as-Salihin 838
In-book reference : Book 4, Hadith 26