During the illness in which he passed away, the Prophet ﷺ called Fatimah and whispered something to her, and she wept. Then he called her again and whispered something else 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 narrated it in the Book of Military Expeditions (4433, 4434) and Muslim in the Book of the Virtues of the Companions (2450:97), both via Ibrahim bin Saad (he is the son of Ibrahim bin Abdul-Rahman bin Awf), from his father, from Urwa, from Ayesha who said, and then mentioned it.