(83) بَابُ مَرَضِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَوَفَاتِهِ
Narrated `Aisha:
The Prophet (ﷺ) called Fatima during his fatal illness and told her something secretly and she wept. Then he called her again and told her something secretly, and she started laughing. When we asked her about that, she said, "The Prophet (ﷺ) first told me secretly that he would expire in that disease in which he died, so I wept; then he told me secretly that I would be the first of his family to follow him, so I laughed ( at that time).
Reference: Sahih al-Bukhari 4433, 4434
In-book reference: Book 64, Hadith 455
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 59, Hadith 718