Abu Hurairah reported,

The Messenger of Allah ﷺ, whenever he finished the dawn prayer, would ask, "Did any of you see a dream last night?" And he would say, "Nothing remains of prophethood after me except the righteous dream."

Azami 772

Sahih

عن أبي هريرة

أن رسول الله ﷺ كان إذا انصرف من صلاة الغداة يقول: هل رأى أحد منكم الليلة رؤيا. ويقول: ليس يبقى بعدي من النبوة، إلا الرؤيا الصالحة.

الأعظمي 772صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in the Prophet ﷺ
Section
End of prophethood after the prophethood of our Prophet and the continuation of glad tidings
Numbering
Jami al-Kamil 772 (2nd edition)
Azami 772