Maliks Muwatta Book 012, Hadith Number 004.

Section : About the Eclipse Prayer.

Yahya related to me from Malik from Hisham ibn Urwa from Fatima bint al Mundhir that Asma bint Abi Bakr as-Siddiq said, "I went to A'isha, the wife of the Prophet, may Allah bless him and grant him peace, during an eclipse of the sun, and everybody was standing in prayer, and she too was standing praying. I said, 'What is everybody doing?' She pointed towards the sky with her hand and said, 'Glory be to Allah.' I said, 'A sign?' She nodded 'Yes' with her head."

She continued, "I stood until I had almost fainted, and I began to pour water over my head. The Messenger of Allah, may Allah bless him and grant him peace, praised Allah and spoke well of Him, and then said, 'There is nothing which I had previously not seen beforehand that I have not now seen while standing - even the Garden and the Fire. It has been revealed to me that you will be tried in your graves with a trial, like, or near to, the trial of the Dajjal (I do not know which one Asma said). Every one of you will have someone who comes to him and asks him, 'What do you know about this man?' A mumin, or one who has certainty (muqin) (I do not know which one Asma said), will say, 'He is Muhammad, the Messenger of Allah, may Allah bless him and grant him peace, who came to us with clear proofs and guidance, and we answered and believed and followed.' He will then be told, 'Sleep in a good state. We know now that you were a mumin.' A hypocrite, however, or one who has doubts (l do not know which one Asma said), will say, 'I do not know, I heard everybody saying something and I said it.'"