Ubayd bin Umayr relates that Sayyidah Aishah (may Allah be pleased with her) said: When the sun was eclipsed in the time of the Prophet (peace and blessings be upon him), he (peace and blessings be upon him) stood for a long time. He (peace and blessings be upon him) stood, then bowed, then stood, then bowed, then stood; then he (peace and blessings be upon him) prayed two rak'ahs with three bowings and four prostrations. Then he gave the salam, and the sun had become bright. When he (peace and blessings be upon him) bowed, he would say: 'Allahu akbar' (Allah is the Greatest), then bow; and when he raised his head from the bowing, he would say: 'Sami' Allahu liman hamidah' (Allah hears the one who praises Him). Then he (peace and blessings be upon him) stood and praised and extolled Allah, then said: "The sun and the moon are not eclipsed for anyone's death or life; rather, they are signs of Allah through which Allah, the Lord of Might, causes fear. When you see an eclipse, remember Allah until it clears."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة الخسوف / 6318
Ubayd bin Umayr narrates from Sayyidah Aishah (may Allah be pleased with her) that the Messenger of Allah (peace and blessings be upon him) led a prayer with six bowings and four prostrations. I said to Mu'adh bin Hisham: Does she narrate it from the Prophet (peace and blessings be upon him)? He said: Yes, there is no doubt about it.
Qatadah did not doubt that it is from Aishah. Abd al-Malik bin Abi Sulayman differed from them in its chain: he narrated it from Ata' bin Abi Rabah from Jabir bin Abdullah, and reported that this was on the day Ibrahim, the son of the Messenger of Allah (peace and blessings be upon him), died.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة الخسوف / 6319
Sayyiduna Jabir (may Allah be pleased with him) says: The sun was eclipsed in the time of the Prophet (peace and blessings be upon him). This was the day on which Ibrahim, the son of the Prophet (peace and blessings be upon him), died, and people said: This happened because of the death of Ibrahim. The Prophet (peace and blessings be upon him) stood up. He (peace and blessings be upon him) led a prayer with six bowings and four prostrations. He (peace and blessings be upon him) said the takbir, then he (peace and blessings be upon him) recited at length. Then he bowed for about as long.
Then he (peace and blessings be upon him) raised his head from the bowing and recited somewhat less than the first recitation. Then he bowed for about as long as he had stood. Then he (peace and blessings be upon him) recited a third time, less than the second recitation. Then he bowed for about as long as the standing. Then he raised his head from the bowing and went down into prostration. Then he (peace and blessings be upon him) performed two prostrations. Then he (peace and blessings be upon him) stood. He (peace and blessings be upon him) performed three bowings before prostrating, each bowing being longer than the one after it, and his bowing was about as long as his standing. Then he (peace and blessings be upon him) moved back during the prayer, and the rows moved back as well. Then he (peace and blessings be upon him) moved forward and stood in his place, and the rows moved forward with him (peace and blessings be upon him). He (peace and blessings be upon him) completed the prayer, and the sun had become bright. He said: "O people! The sun and the moon are two of the signs of Allah; they do not lose their light because of the death of any human being. When you see anything like that, pray until it clears."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة الخسوف / 6320
(a) Abd al-Malik narrated the same meaning with his chain, and he said that his (peace and blessings be upon him) bowing was about as long as his prostration. He added that the rows moved back so far that they reached the women. At the end of the hadith there is the addition: "There is nothing that you have been promised but I have seen it in this prayer of mine. Hell was brought, and that was when you saw me moving back out of fear that its blaze might reach me, until I saw in it the man with the crooked staff dragging his intestines in Hell. He used to steal the belongings of the pilgrims with his crooked staff; if he was noticed, he would say: It got caught on my staff, and if he went unnoticed, he would take it away. And I saw in Hell the woman of the cat, who tied it up and neither fed it nor let it go free to live on the vermin of the earth, until it died of hunger. Then Paradise was brought, and that was when you saw me moving forward until I stood in my place. I stretched out my hand wishing to take some of its fruit so that you could look at it, then it occurred to me not to do so. There is nothing that you have been promised but I have seen it in this prayer of mine."
The Shaykh says: Whoever reflects on this account and on the account that Abu al-Zubayr narrated from Jabir will know that it is one and the same incident, and that the prayer he described was offered on the day Ibrahim (may Allah be pleased with him), the son of the Prophet (peace and blessings be upon him), died.
(b) The narrations of Urwah bin al-Zubayr and Amrah bint Abd al-Rahman from Aishah, of Ata' bin Yasar and Kathir bin Abbas from Ibn Abbas, of Abu Salamah bin Abd al-Rahman from Abdullah bin Amr, and of Abu al-Zubayr from Jabir (may Allah be pleased with them) all agree that the Prophet (peace and blessings be upon him) prayed it as two rak'ahs, with two bowings in each rak'ah.
(c) In the account of most of them is his (peace and blessings be upon him) statement that day: "The sun and the moon are two of the signs of Allah; they do not lose their light for anyone's death or life." This shows that he prayed it on the day his son died, and that he gave the sermon and said these words in refutation of their saying that it was eclipsed because of his death. The agreement of this number of narrators, together with the excellence of their memory, shows that he did not perform more than two bowings in any rak'ah, as al-Shafi'i and Muhammad bin Isma'il al-Bukhari (may Allah have mercy on them both) held.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة الخسوف / 6321