When the Messenger of Allah ﷺ finished the dawn prayer, he would ask: Did any of you have a dream last night? And he said: All that is left of Prophecy after me is a good vision. (Using translation from Abū Dāʾūd 5017)
أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا انْصَرَفَ مِنْ صَلَاةِ الْغَدَاةِ يَقُولُ هَلْ رَأَى أَحَدٌ مِنْكُمُ اللَّيْلَةَ رُؤْيَا إِنَّهُ لَيْسَ يَبْقَى بَعْدِي مِنَ النُّبُوَّةِ إِلَّا الرُّؤْيَا الصَّالِحَةُ