Jabir b. `Abdullah reported Allah's Messenger (ﷺ) as saying
He who saw me in a dream in fact saw me, for the satan cannot assume my form.