Question: Categories of the Ghayb (the Unseen); did prophet Muhammad (peace be upon him) know the Ghayb? Was his knowledge in this regard comprehensive or partial?
Answer: There are categories of Ghayb that no one knows except Allaah whether he is an angel who is near Allaah or a messenger, like determining the time when the creatures will be raised before Allaah for reckoning. Nobody knows the time of the Day of Judgment. Allaah (Exalted be He) says… read more here.