Ayesha reported,

Fatimah came walking, and her gait resembled that of the Prophet ﷺ.The Prophet ﷺ said, "Welcome, my daughter," then seated her on his right or his left. He then whispered something to her, and she wept.I asked her, "Why are you crying?"Then he whispered something else to her, and she laughed.I said, "I have never seen joy so close to sorrow as today."I asked her about what he had said, but she replied, "I would not disclose the secret of the Messenger of Allah ﷺ."After the Prophet ﷺ passed away, I asked her again.

Bukhari 3623

Sahih

حدثنا أبو نعيم حدثنا زكرياء عن فراس عن عامر الشعبي عن مسروق

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

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

البخاري 3623صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues
Chapter
Signs of prophethood in Islam
Numbering
Darussalam 3623
Bukhari 3623