Ayesha reported,

Aisha said, "I used to hear that no prophet dies until he is given a choice between this world and the hereafter."She continued, "Then, during the illness from which he died, I heard the Prophet ﷺ, his voice grown hoarse, saying, 'with those whom Allah has favored among the prophets, the truthful, the martyrs, and the righteous, and excellent are these as companions' [Nisa 4:69]."She said, "So I realized that he was being given the choice at that moment."

Muslim 6296

Sahih

و حدثناه أبو بكر بن أبي شيبة حدثنا وكيع ح و حدثنا عبيد الله بن معاذ حدثنا أبي قالا حدثنا شعبة عن سعد بهذا الإسناد مثله

مسلم 6296صحيح
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 6296
Muslim 6296