Ayesha reported,

The Prophet ﷺ called Fatimah, peace be upon her, during the illness in which he passed away and whispered something to her, and she wept. Then he called her again and whispered something to her, and she laughed.We asked her about that, and she said, "The Prophet ﷺ whispered to me that he would die from the illness he was suffering, so I wept. Then he whispered to me and informed me that I would be the first of his family to follow him, so I laughed."

Bukhari 4433-4434

Sahih

حدثنا يسرة بن صفوان بن جميل اللخمي حدثنا إبراهيم بن سعد عن أبيه عن عروة

عن عائشة رضي الله عنها قالت

دعا النبي ﷺ فاطمة عليها السلام في شكواه الذي قبض فيه فسارها بشيء فبكت ثم دعاها فسارها بشيء فضحكت فسألنا عن ذلك فقالت سارني النبي ﷺ أنه يقبض في وجعه الذي توفي فيه فبكيت ثم سارني فأخبرني أني أول أهله يتبعه فضحكت

البخاري 4433-4434صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Illness of the Prophet ﷺ and his death
Numbering
Darussalam 4433-4434
Bukhari4433 4433-4434