SAHI MUSLIM and ilme gaib


We also find the following clear cut hadith without any ambigious meanings from Sahih Muslim:
The Prophet (May Allah bless him and grant him peace) stated, “Allah put the earth before me and I saw it from the East to the West” 
[Muslim (Chapter of Excellence of the Prophet (May Allah bless him and grant him peace]
This Hadith is a proof that the Prophet (May Allah bless him and grant him peace) was bestowed with the knowledge of the whole world.
Hafidhh Ibn Kathir and Ibn Muhammad bin Abdul Wahhab al Najdi write:
Suad bin Qarib recited a poem in front of the Prophet (May Allah bless him and grant him peace), “I bear witness that there is none worthy of worship except Allah. Allah has made you the trustee over all the ghaib. 
[Sirat-un-Nabi and Mukhtasar Sirat ul Rasool, Storey on Swad bin Qariq by Hafidhh ibn Kathir and Ibn Muhammad bin Abdul Wahhab al Najdi]
Shaykh-ul-Islam, al-Hafidhh Ibn Hajar Asqalani writes that:
One of the qualities bestowed upon a Prophet is the quality that he knows what has already happened in the past and what will happen in the future.