Narrated Aisha (may Allah be pleased with her): In the time of his good health, the Messenger of Allah (peace and blessings be upon him) used to say that whenever the soul of a prophet was taken, he was first shown his place in Paradise, then he was given the choice (the narrator was in doubt whether the word was "yuhya" or "yukhayyar", both have the same meaning). Then, when the Prophet (peace and blessings be upon him) fell ill and the time (of his death) drew near, his blessed head was on the thigh of Aisha (may Allah be pleased with her), and he was overtaken by unconsciousness. When he regained some consciousness, his eyes looked towards the roof of the house and he said: "Allahumma fil Rafeeq al-A'laa (O Allah, with the Highest Companion)." I understood that now the Messenger of Allah (peace and blessings be upon him) would not choose us (i.e., the worldly life). I remembered that hadith which he had narrated in the time of his good health.
Hadith Referenceاللؤلؤ والمرجان / كتاب فضائل الصحابة / 1586
Hadith Gradingمحدثین:«صحیح»
Hadith Takhrij«صحیح، أخرجه البخاري في: 64 كتاب المغازي: 83 باب مرض النبي صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ووفاته»