Riyad as-SalihinChapter 4Hadith 159
Full Sharh — Riyad as-Salihin 159
وعنه أن النبي صلى الله عليه وسلم قال: "إذا اقترب الزمان لم تكد رؤيا المؤمن تكذب، ورؤيا المؤمن جزء من ستة وأربعين جزءاً من النبوة" ((مُتَّفَقٌ عَلَيهِ)). وفى رواية: "أصدقكم رؤيا أصدقكم حديثاً".
English Translation
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.".One narration says: Messenger of Allah (ﷺ) said, "The most truthful of you in their speech are those who see the truest visions."
Source
Riyad as-Salihin(رياض الصالحين)
The Book of the Etiquette of Sleeping, Lying and Sitting etc
Hadith Number
159