Knowledge of the Ghayb

Q 6: 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?

(Part No. 2; Page No. 170)  A: There are categories of Ghayb that no one knows except Allah whether he is an angel who is near Allah or a messenger, like determining the time when the creatures will be raised before Allah for reckoning. Nobody knows the time of the Day of Judgment. Allah (Exalted be He) says: They ask you about the Hour (Day of Resurrection): "When will be its appointed time?" Say: "The knowledge thereof is with my Lord (Alone). None can reveal its time but He. Heavy is its burden through the heavens and the earth. It shall not come upon you except all of a sudden." They ask you as if you have a good knowledge of it. Say: "The knowledge thereof is with Allâh (Alone), but most of mankind know not." Allah (Exalted be He) also says: People ask you concerning the Hour, say: "The knowledge of it is with Allâh only. What do you know? It may be that the Hour is near!" and: They ask you (O Muhammad صلى الله عليه وسلم) about the Hour - when will be its appointed time? You have no knowledge to say anything about it. To your Lord belongs (the knowledge of) the term thereof. You (O Muhammad صلى الله عليه وسلم) are only a warner for those who fear it, Al-Bukhari and Muslim reported in the Two Sahih (authentic) Books of Hadith (i.e. Al-Bukhari and Muslim) the long well-known Hadith: Jabriel asked the Prophet (peace be upon him) about the Hour and he (peace be upon him) replied: The one who is asked about it is no better informed than the inquirer. Then the Prophet (peace be upon him) told him about its signs.Allah (Exalted be He) informed his Prophet about some of the matters of Ghayb that would happen in the future, and therefore these matters became a miracle for the Prophet and one of the signs that Allah gave his Messenger (peace be upon him). This aspect is included in the saying of Allah (Exalted be He): "(He Alone is) the All-Knower of the Ghaib (Unseen), and He reveals to none His Ghaib (Unseen)." Except to a Messenger (from mankind) whom He has chosen (He informs him of unseen as much as He likes) , and in His saying: Nor will Allâh disclose to you the secrets of the Ghaib (unseen), but Allâh chooses of His Messengers whom He wills. (Part No. 2; Page No. 171) Therefore, it becomes evident that the Prophet (peace be upon him) was not comprehensively acquainted with the Ghayb. He knew some matters of the Ghayb that Allah informed him of. The Prophet (peace be upon him) in this regard was like his fellow prophets. We are only using this example to clarify our point. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.