Hadith 6:1238
'Affan narrated to us, he said: Wuhayb narrated to us, he said: Musa ibn 'Uqbah narrated to us, from Umm Khalid bint Khalid, that she heard the Prophet, may Allah bless him and grant him peace, say: "It has been revealed to me that you will be tested in the graves like, or near to, the trial of the False Messiah (al-Masih al-Dajjal). Then one of you will be brought, and it will be said: 'What is your knowledge regarding this man?' As for the believer, he will say: 'He is Muhammad, the Messenger of Allah. He came to us with clear proofs and guidance, so we responded and followed.' It will be said: 'Sleep in a righteous state, for we have known that you are a believer in Allah.' 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.'"
حدثنا عفان قال حدثنا وهيب حدثنا موسى بن عقبة عن أم خالد بنت خالد أنها سمعت النبي صلى الله عليه وسلم قال قد أوحي إلي أنكم تفتنون في القبور مثل أو قريبا من فتنة المسيح الدجال ثم يوفى ( ( ( يؤتى ) ) ) أحدكم فيقول ( ( ( فيقال ) ) ) ما علمك بهذا الرجل قال فأما المؤمن فيقول محمد هو رسول الله جاءنا بالبينات والهدي فأجبنا واتبعنا فيقال نم صالحا فقد علمنا أنك مؤمن بالله وأما المنافق أو المرتاب لا أدري أي ذلك قالت أسماء ( ( ( أسماؤ ) ) ) فيقول لا ادري سمعت الناس قالوا قولا فقلته