The Messenger of Allah ﷺ said, "The dream of a believer is one of forty-six parts of prophethood."
حدثنا عبد الرزاق أخبرنا معمر عن الزهري عن ابن المسيب
قال رسول الله ﷺ رؤيا المؤمن جزء من ستة وأربعين جزءا من النبوة
Its isnad is sahih, and it is a repeat of 7183, and part of the preceding hadith.