Asma bint Abu Bakr reported,

I came to Ayesha while the sun was being eclipsed. The people were standing in prayer, and she too was standing in prayer. I asked, "What is the matter with the people?"She pointed with her hand toward the sky and said, "Glory be to Allah."I asked, "Is this a sign?"She nodded her head to indicate, "Yes."When the Messenger of Allah ﷺ finished, he praised Allah and extolled Him, then said, "There is nothing I had not seen before that I have not now seen from this place of mine, even Paradise and the Fire. It has been revealed to me that you will be tested in your graves with a trial close to that of the Dajjal. As for the believer," or "the Muslim" — I do not know which of the two Asma said — "he will say, 'Muhammad came to us with clear proofs, and we responded to him and believed.' It will be said to him, 'Sleep in peace, righteous one. We knew that you were certain in faith.' But as for the hypocrite," or "the doubter" — I do not know which of the two Asma said — "he will say, 'I do not know. I heard the people saying something, so I said it too.'"

Bukhari 7287

Sahih

حدثنا عبد الله بن مسلمة عن مالك عن هشام بن عروة عن فاطمة بنت المنذر

عن أسماء بنت أبي بكر رضي الله عنهما أنها قالت

أتيت عائشة حين خسفت الشمس والناس قيام وهي قائمة تصلي فقلت ما للناس فأشارت بيدها نحو السماء فقالت سبحان الله فقلت آية قالت برأسها أن نعم فلما انصرف رسول الله ﷺ حمد الله وأثنى عليه ثم قال ما من شيء لم أره إلا وقد رأيته في مقامي هذا حتى الجنة والنار وأوحي إلي أنكم تفتنون في القبور قريبا من فتنة الدجال فأما المؤمن أو المسلم لا أدري أي ذلك قالت أسماء فيقول محمد جاءنا بالبينات فأجبناه وآمنا فيقال نم صالحا علمنا أنك موقن وأما المنافق أو المرتاب لا أدري أي ذلك قالت أسماء فيقول لا أدري سمعت الناس يقولون شيئا فقلته

البخاري 7287صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhering to the Book and the Sunnah
Chapter
Following the sunnah of the Messenger of Allah ﷺ
Numbering
Darussalam 7287
Bukhari 7287