Abu Qatada reported Allah's Messenger (ﷺ) as saying
He who saw me in dream in fact saw the truth (what is true).