Sunan Ibn Majah, Volume 5, Book 35, Hadith 3893 (DarusSalam) ⓘ
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.”
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا مَالِكُ بْنُ أَنَسٍ، حَدَّثَنِي إِسْحَاقُ بْنُ عَبْدِ اللَّهِ بْنِ أَبِي طَلْحَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " الرُّؤْيَا الْحَسَنَةُ مِنَ الرَّجُلِ الصَّالِحِ جُزْءٌ مِنْ سِتَّةٍ وَأَرْبَعِينَ جُزْءًا مِنَ النُّبُوَّةِ " .
also referenced under: Hadith 3893 (Reference) & Book 35, Hadith 1 (In-Book)