كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(83)
Chapter: The sickness of the Prophet (saws) and his death
(83)
بَابُ مَرَضِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَوَفَاتِهِ
Sahih al-Bukhari 4451

Narrated `Aisha:

The Prophet (ﷺ) expired in my house and on the day of my turn, leaning against my chest. One of us (i.e. the Prophet's wives ) used to recite a prayer asking Allah to protect him from all evils when he became sick. So I started asking Allah to protect him from all evils (by reciting a prayer ). He raised his head towards the sky and said, "With the highest companions, with the highest companions." `Abdur- Rahman bin Abu Bakr passed carrying a fresh leaf-stalk of a date-palm and the Prophet (ﷺ) looked at it and I thought that the Prophet (ﷺ) was in need of it (for cleaning his teeth ). So I took it (from `Abdur Rahman) and chewed its head and shook it and gave it to the Prophet (ﷺ) who cleaned his teeth with it, in the best way he had ever cleaned his teeth, and then he gave it to me, and suddenly his hand dropped down or it fell from his hand (i.e. he expired). So Allah made my saliva mix with his saliva on his last day on earth and his first day in the Hereafter.

حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ أَيُّوبَ، عَنِ ابْنِ أَبِي مُلَيْكَةَ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ قَالَتْ تُوُفِّيَ النَّبِيُّ صلى الله عليه وسلم فِي بَيْتِي وَفِي يَوْمِي، وَبَيْنَ سَحْرِي وَنَحْرِي، وَكَانَتْ إِحْدَانَا تُعَوِّذُهُ بِدُعَاءٍ إِذَا مَرِضَ، فَذَهَبْتُ أُعَوِّذُهُ، فَرَفَعَ رَأْسَهُ إِلَى السَّمَاءِ وَقَالَ ‏ "‏ فِي الرَّفِيقِ الأَعْلَى فِي الرَّفِيقِ الأَعْلَى ‏"‏‏.‏ وَمَرَّ عَبْدُ الرَّحْمَنِ بْنُ أَبِي بَكْرٍ وَفِي يَدِهِ جَرِيدَةٌ رَطْبَةٌ، فَنَظَرَ إِلَيْهِ النَّبِيُّ صلى الله عليه وسلم فَظَنَنْتُ أَنَّ لَهُ بِهَا حَاجَةً فَأَخَذْتُهَا، فَمَضَغْتُ رَأْسَهَا وَنَفَضْتُهَا فَدَفَعْتُهَا إِلَيْهِ، فَاسْتَنَّ بِهَا كَأَحْسَنِ مَا كَانَ مُسْتَنًّا ثُمَّ نَاوَلَنِيهَا فَسَقَطَتْ يَدُهُ ـ أَوْ سَقَطَتْ مِنْ يَدِهِ ـ فَجَمَعَ اللَّهُ بَيْنَ رِيقِي وَرِيقِهِ فِي آخِرِ يَوْمٍ مِنَ الدُّنْيَا وَأَوَّلِ يَوْمٍ مِنَ الآخِرَةِ‏.‏
Reference : Sahih al-Bukhari 4451
In-book reference : Book 64, Hadith 471
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 732
  (deprecated numbering scheme)