Question: It is related in the Saheeh (authentic) Book of Hadeeth of Al-Bukhaaree on the authority of Anas (may Allaah be pleased with him) that the Prophet (peace be upon him) said: Whoever sees me in his dream will see me in wakefulness, for Satan cannot take my form. Does this mean that a person may actually see the Prophet? A hot dispute was raised among people on this topic. Some claimed that they see the Prophet (peace be upon him) in wakefulness and mentioned the previous Hadeeth.
Answer: Allaah decreed to create people from nothing to test them as to who among them will do good. Then, He causes them to die when their lifetimes are over, then He will resurrect them on the Day of Resurrection for reckoning and retribution… read more here.