حَدَّثَنَا أَبُو مَرْوَانَ الْعُثْمَانِيُّ، حَدَّثَنَا إِبْرَاهِيمُ بْنُ سَعْدٍ، عَنْ أَبِيهِ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، قَالَتْ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏"‏ مَا مِنْ نَبِيٍّ يَمْرَضُ إِلاَّ خُيِّرَ بَيْنَ الدُّنْيَا وَالآخِرَةِ ‏"‏ ‏.‏ قَالَتْ فَلَمَّا كَانَ مَرَضُهُ الَّذِي قُبِضَ فِيهِ أَخَذَتْهُ بُحَّةٌ فَسَمِعْتُهُ يَقُولُ ‏"‏ مَعَ الَّذِينَ أَنْعَمَ اللَّهُ عَلَيْهِمْ مِنَ النَّبِيِّينَ وَالصِّدِّيقِينَ وَالشُّهَدَاءِ وَالصَّالِحِينَ ‏"‏ ‏.‏ فَعَلِمْتُ أَنَّهُ خُيِّرَ ‏.‏

It wasnarrated that ‘Aishah said: “I heard the Messenger of Allah(PBUH)say: ‘There is no Prophet who fell sick but he was given thechoicebetween this world and the Hereafter.’ She said: ‘When hebecamesick with the illness that would be his last, (his voice)becamehoarse and I heard him say, “In the company of those on whomAllahhas bestowed His grace, of the Prophets, the true believers, themartyrs, and the righteous.’” [4:69] Then I knew that he had beengiven the choice.” Translation Not Available

Book Ref: Sunan Ibn Majah Book 6 Hadith 1620
Web Ref:  Sunan Ibn Majah Vol 1 Book 6 Hadith 1620