I heard the Messenger of Allah ﷺ say, "Whoever sees me in a dream will see me in waking life," or, "It is as though he has seen me in waking life, for Satan cannot take my form."
حدثنا أحمد بن صالح حدثنا عبد الله بن وهب قال أخبرني يونس عن ابن شهاب قال أخبرني أبو سلمة بن عبد الرحمن أن
سمعت رسول الله ﷺ يقول من رآني في المنام فسيراني في اليقظة أو لكأنما رآني في اليقظة ولا يتمثل الشيطان بي
Sourced from Bukhari, Book of Dream Interpretation, chapter on one who sees the Prophet ﷺ in a dream, hadith no. 6993, and Muslim, Book of Dreams, chapter on the saying of the Prophet, peace and blessings be upon him, "Whoever sees me in a dream has indeed seen me," hadith no. 2266, both from the hadith of Ibn Wahb, through this same chain.