Narrated Ayesha: When Allah’s Messenger, peace be upon him, was in good health, he used to say, “Never does a Prophet die unless he is shown his place in Paradise (before his death). And then he is given life or given option.” When the Prophet, peace be upon him, became ill and his last moments came while his head was on my thigh, he became unconscious. When he came to his senses, he looked toward the roof of the house and then said, “O Allah! (Please let me be) with the highest companions.”
Thereupon I said, “So he is not going to stay with us!” Then I came to know that his state was the confirmation of the narration he used to mention to us while he was in good health.
(5: 721- O.B. Sahih Al-Bukhari)