The sun was eclipsed, so the Messenger of Allah ﷺ led the people in prayer. He stood for a long time, reciting approximately the length of Surah al-Baqarah, then bowed for a long time. Then he rose and stood for a long time, though shorter than the first standing, then bowed for a long time, though shorter than the first bowing. Then he prostrated.Then he stood for a long time, though shorter than the first standing, then bowed for a long time, though shorter than the first bowing. Then he rose and stood for a long time, though shorter than the first standing, then bowed for a long time, though shorter than the first bowing. Then he prostrated.Then he finished, and the sun had already cleared. He said, "The sun and the moon are two of the signs of Allah. They do not eclipse for the death of anyone or for his birth. So when you see that, remember Allah ."They said, "Messenger of Allah, we saw you reach for something while standing here, then we saw you draw back."He said, "I saw Paradise," or "Paradise was shown to me, and I reached for a cluster of grapes from it. Had I taken it, you would have eaten from it as long as the world remained. And I saw the Fire, and I have never seen a sight like today's. I saw that most of its inhabitants were women."They asked, "Why is that, Messenger of Allah?"He replied, "Because of their ingratitude."It was said, "Are they ungrateful to Allah?"He said, "They are ungrateful to their husbands and ungrateful for kindness. If you were good to one of them all your life, then she saw something from you she disliked, she would say, 'I have never seen any good from you.'"
أخبرنا محمد بن سلمة قال حدثنا ابن القاسم عن مالك قال حدثني زيد بن أسلم عن عطاء بن يسار
خسفت الشمس فصلى رسول الله ﷺ والناس معه فقام قياما طويلا قرأ نحوا من سورة البقرة قال ثم ركع ركوعا طويلا ثم رفع فقام قياما طويلا وهو دون القيام الأول ثم ركع ركوعا طويلا وهو دون الركوع الأول ثم سجد ثم قام قياما طويلا وهو دون القيام الأول ثم ركع ركوعا طويلا وهو دون الركوع الأول ثم رفع فقام قياما طويلا وهو دون القيام الأول ثم ركع ركوعا طويلا وهو دون الركوع الأول ثم سجد ثم انصرف وقد تجلت الشمس فقال إن الشمس والقمر آيتان من آيات الله لا يخسفان لموت أحد ولا لحياته فإذا رأيتم ذلك فاذكروا الله عز وجل قالوا يا رسول الله رأيناك تناولت شيئا في مقامك هذا ثم رأيناك تكعكعت قال إني رأيت الجنة أو أريت الجنة فتناولت منها عنقودا ولو أخذته لأكلتم منه ما بقيت الدنيا ورأيت النار فلم أر كاليوم منظرا قط ورأيت أكثر أهلها النساء قالوا لم يا رسول الله قال بكفرهن قيل يكفرن بالله قال يكفرن العشير ويكفرن الإحسان لو أحسنت إلى إحداهن الدهر ثم رأت منك شيئا قالت ما رأيت منك خيرا قط
Bukhari transmitted it in Kusuf, chapter "Salat al-Kusuf in Congregation," hadith no. 1052, and Muslim transmitted it, etc., hadith no. 907, from the hadith of Malik, Kusuf, chapter "What Was Shown to the Prophet ﷺ During Salat al-Kusuf," and it is found in Muwatta (Yahya) 1/186, 187, and in Kubra, hadith no. 1878.