The Messenger of Allah ﷺ said, "Whoever sees me in a dream has truly seen me, for Satan cannot take my form."
وبهذا الإسناد أن رسول الله ﷺ قال من رآني فقد رآني الحق فإن الشيطان لا يتكون بي
Its isnad is sahih, like the one before it, and the hadith was mentioned previously at 9287 with similar wording.