The Prophet ﷺ said, "The dream of a believer is one of forty-six parts of prophethood."
عن النبي ﷺ قال: رؤيا المؤمن جزء من ستة وأربعين جزءا من النبوة.
Bukhari reported it in the Book of Dream Interpretation (6987) and Muslim in the Book of Dreams (7:2264), through various routes from Shuba, from Qatada, from Anas bin Malik, from Ubada bin Samit, who related it.