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.
Sunan Abi Dawud Book 43, Hadith 245