Ayesha reported,

The Messenger of Allah ﷺ, while still in good health, used to say, "No prophet has ever been taken in death until he was first shown his place in Paradise, and then given the choice."Ayesha said, "When the Messenger of Allah ﷺ fell into his final illness, with his head resting on my thigh, he lost consciousness for a while. Then he regained consciousness, fixed his gaze toward the ceiling, and said, 'O Allah, with the highest companions.'"Ayesha said, "I thought to myself, 'Then he is not choosing us.'"Ayesha said, "I recognized then the meaning of the saying he used to relate to us while in good health, that no prophet has ever been taken in death until he was shown his place in Paradise and then given the choice."Ayesha said, "Those were the last words the Messenger of Allah ﷺ spoke, his saying, 'O Allah, with the highest companions.'"

Muslim 6297

Sahih

حدثني عبد الملك بن شعيب بن الليث بن سعد حدثني أبي عن جدي حدثني عقيل بن خالد قال قال ابن شهاب أخبرني سعيد بن المسيب وعروة بن الزبير في رجال من أهل العلم أن

عائشة زوج النبي ﷺ قالت

كان رسول الله ﷺ يقول وهو صحيح إنه لم يقبض نبي قط حتى يرى مقعده في الجنة ثم يخير قالت عائشة فلما نزل برسول الله ﷺ ورأسه على فخذي غشي عليه ساعة ثم أفاق فأشخص بصره إلى السقف ثم قال اللهم الرفيق الأعلى قالت عائشة قلت إذا لا يختارنا قالت عائشة وعرفت الحديث الذي كان يحدثنا به وهو صحيح في قوله إنه لم يقبض نبي قط حتى يرى مقعده من الجنة ثم يخير قالت عائشة فكانت تلك آخر كلمة تكلم بها رسول الله ﷺ قوله اللهم الرفيق الأعلى

مسلم 6297صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Companions, may Allah be pleased with them
Chapter
Virtue of Ayesha, may Allah be pleased with her
Numbering
Darussalam 6297
Muslim 6297