Riyad as-Salihin, Book 5, Hadith 839 (In-Book)

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."

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

sunnah.com