Ilm-e-Ghaib

Nabi (sallallahu alahi wasallam) being alive in his grave and knowing the intentions of the people who come to visit him

Q:

1. Is it correct to say that Nabi Muhammad (صلى الله عليه وسلم) is alive with his body as his soul has been returned to his body?

2. Is it correct to say that he (صلی الله عليه وسلم) knows everything from Allah about the deeds, intentions and wishes of the people who come to visit him in Ar-Rawdah?

The knowledge of the unseen

Q: I hope you are doing best with your health. I am jobless and never been stable in life. I try to change myself a lot but haraam things attracts me a lot. Whenever I try to perform good in my job, I can't. I always have health issues. This time I am joining a company statement media solutions private ltd. It's a online stock broking company. I don't want to leave this company and I want that my performance should be commendable where I can help my family.

Ilm-e-Ghaib

Q: My question is if the prophet (Sallallahu Alayhi Wasallam) didn't know ilm-e-ghaib, then how did he know the following hadith.

Narrated by Hazrat Anas (Radiyallahu Anhu): Allah's Apostle (Sallallahu Alayhi Wasallam) ascended the (mountain) of Uhud with Abu Bakr and 'Uthman and it shook. Allah's Apostle (Sallallahu Alayhi Wasallam) said, "Be calm, O Uhud!" I think he stroked it with his foot and added, "There is none on you but a Prophet, a Siddiq and two martyrs." (The two martyrs were Hazrat Umar and Hazrat Uthman [Radiyallahu Anhuma]) (See Hadith No. 24). Hadith is in Bukhari.

How did he know that Hazrat Umar and Hazrat Uthman (Radiyallahu Anhuma) will be martyred?