The Book of Eclipses
كتاب الكسوف
Chapter 21: The tashahhud and taslim for the eclipse prayer
The Messenger of Allah (ﷺ) prayed during an eclipse. He stood for a long time, then he bowed for a long time, then he stood up and (remained standing) for a long time, then he bowed for a long time, then he stood up, then he prostrated for a long time, then he stood up and (remained standing) for a long time, then he bowed for a long time, then he stood up, then he prostrated for a long time, then he sat up, then he prostrated for a long time, then he sat up and then he finished."
Chapter 22: Sitting on the minbar after the eclipse prayer
"The Prophet (ﷺ) went out and the sun became eclipsed. We went out to the apartment and some women gathered around us. The Messenger of Allah (ﷺ) turned to us, and that was at the time of the forenoon. He stood for a long time, then he bowed for a long time, then he raised his head and stood for a shorter time than the first, then he bowed for a shorter time than the first, then he prostrated. Then he stood up again and did the same, except that he stood and bowed for a shorter time than in the first rak'ah. Then he prostrated and the eclipse ended. When he had finished he sat on the minbar and among the things he said was : 'The people will be tried in their graves like the trial of the Dajjal.'"
Chapter 23: How is the Khutbah delivered during an eclipse?
"There was an eclipse of the sun during the time of the Messenger of Allah (ﷺ). He stood and prayed, standing for a very long time, then he bowed for a very long time. Then he stood up and (remained standing) for a very long time, but shorter than the first time. Then he bowed for a very long time, but shorter than the first time. Then he prostrated, then he raised his head and stood for a long time, but it was shorter than the first time. The he stood up and (remained standing) for a long time, but it was shorter than the first time. Then he prostrated, and when he finished his prayer, the eclipse had ended. He addressed the people and praised and glorified Allah, then he said: 'The sun and the moon do not become eclipsed for the death or birth of anyone. If you see that then pray, give in charity, and remember Allah, the Mighty and Sublime.' And he said: 'O Ummah of Muhammad! There is no one who is more jealous than Allah (SWT) when His male or female slave commits Zina. O Ummah of Muhammad, if you knew what I know, you would laugh little and weep much.'"
The Prophet (ﷺ) delivered a Khutbah when the sun eclipsed and he said: 'Amma ba'd (to proceed).'"
Chapter 24: The command to supplicated during an eclipse
"We were with the Prophet (ﷺ) and the sun became eclipsed. He got up and went to the masjid, dragging his garment in haste. The people stood with him and he prayed two rak'ahs as they usually prayed. When the eclipse ended he addressed us and said 'The sun and the moon are two of the signs of Allah (SWT), with which He strikes fear into His slaves. They do not become eclipsed for the death or birth of anyone. If you see either of them being eclipsed, then pray and supplicate until it removed it from you.'"
Chapter 25: The command to seek forgiveness during an eclipse
"There was an eclipse of the sun, and the Messenger of Allah (ﷺ) got up in a rush, fearing that it might be the Hour. He went to the masjid, where he stood and prayed, standing, bowing and prostrating for the longest time that I ever saw him do in prayer. Then he said: 'These signs that Allah (SWT) sends do not occur for the death or birth of anyone, but Allah (SWT) sends them to strike fear into His slaves. If you see any of these things, then hasten to remember Him, call upon Him supplicate and ask for His forgiveness.'"