Abu Musa (may Allah be pleased with him) narrated: "The sun eclipsed during the time of the Messenger of Allah (ﷺ). He rushed out in alarm, fearing it might be the Hour, until he reached the mosque. He led us in prayer with the longest standing, bowing, and prostration I had ever seen him perform. Then he said, 'These are signs that Allah sends to instill fear in His servants. When you see them, rush to remember Allah, supplicate, and seek His forgiveness.'" [Narrated by Al-Tahawi]
Bukhari and Muslim narrated something similar.
In a narration by them: Aisha (may Allah be pleased with her) said, "I never performed a bowing or prostration as long as that."
In another narration by them from Aisha: "The Messenger of Allah (ﷺ) said, 'The sun and the moon are two signs among the signs of Allah. They do not eclipse because of the death or life of anyone. When you see them, remember Allah,
1 say the takbir, pray, and give charity.'"
In another narration by them from Abdullah ibn Abbas: "The eclipse ended
2 as he finished the prayer. He said, 'The sun and the moon are two signs among the signs of Allah. They do not eclipse because of the death or life of anyone. When you see them, remember Allah.' They said, 'O Messenger of Allah, we saw you reach for something during the prayer, then we saw you step back.' He said, 'I saw Paradise and reached for a cluster of grapes. If I had taken it, you would have eaten from it as long as the world exists. I also saw Hell, and I have never seen a more terrifying sight. Most of its inhabitants are women.' They asked, 'Why, O Messenger of Allah?' He said, 'Because of their ingratitude.' It was said, 'Do they disbelieve in Allah?' He said, 'They are ungrateful to their husbands and ungrateful for kindness. If you were to do good to one of them for a lifetime, then she saw something from you (she disliked), she would say, "I have never seen any good from you."'"
In another narration by them from Aisha: "He said, 'O Ummah of Muhammad, by Allah, no one is more jealous than Allah when His servant or maidservant commits adultery. O Ummah of Muhammad, if you knew what I know, you would laugh little and weep much.'"
In a narration by Nasa’i: "The Prophet (ﷺ) rushed to the mosque one day when the sun eclipsed. He prayed until the eclipse ended, then said, 'The people of ignorance used to say that the sun and moon do not eclipse except for the death of a great person. But the sun and moon are two creations among Allah’s creations. They do not eclipse for the death or life of anyone. When either of them eclipses, pray until it clears or Allah decrees something else.'"
Commentary and footnotes (1)
Note 1
امام طحاوی رحمہ اللہ علیہ فرماتے ہیں کہ تمام فرائض، سنن اور نوافل میں کوئی نماز ایسی نہیں ہے کہ جس کی ہر رکعت میں متعدد رکوع ہوں، نماز کسوف بھی بجملہ ان نمازوں کے ہے اس لئے اس کی ہر رکعت میں متعدد رکوع کا ہونا صحیح نہیں ہے، مثل اور نمازوں کے نماز کسوف میں بھی ہر رکعت میں ایک ہی رکوع ہونا چاہئے، اسی واسطے: