The Prophet ﷺ said, "The dream of a believer is one part of forty-six parts of prophethood."
حدثنا محمود بن غيلان حدثنا أبو داود عن شعبة عن قتادة أنه سمع أنسا يحدث
أن النبي ﷺ قال رؤيا المؤمن جزء من ستة وأربعين جزءا من النبوة
Agreed upon, and Muslim narrated it in "Dreams," the chapter on dreams being from Allah and being a part of prophethood, hadith no. 2264, from the hadith of Shubah with this wording, and Bukhari, hadith no. 6983, from the hadith of Anas, and it is in Musnad Abu Dawud Tayalisi, hadith no. 575.There are also narrations on this subject from Abu Hurairah [Bukhari, hadith no. 6988, and Muslim, hadith no. 2263], Abu Razeen Aqeeli [coming at 2278], Abu Saeed [coming at 3453], Abdullah bin Amr [Ahmad 2/219], Awf bin Malik [Ibn Majah, hadith no. 3907], Ibn Umar [Muslim, hadith no. 2265], and Anas [Bukhari, hadith no. 6983, and Muslim, hadith no. 2264].