Sahih Bukhari Volume 2, Book 18, Hadith Number 156.
Narated By ‘Aisha : (The wife of the Prophet (p.b.u.h) In the lifetime of the Prophet the sun eclipsed and he went to the Mosque and the people aligned behind him. He said the Takbir (starting the prayer) and prolonged the recitation (from the Quran) and then said Takbir and performed a prolonged bowing; then he (lifted his head and) said, “Sami allahu liman hamidah” (Allah heard him who sent his praises to Him). He then did not prostrate but stood up and recited a prolonged recitation which was shorter than the first recitation. He again said Takbir and then bowed a prolonged bowing but shorter than the first one and then said, “Sami ‘a-l-lahu Lyman hamidah Rabbana walak-lhamd, (Allah heard him who sent his praises to Him. O our Sustainer! All the praises are for You)” and then prostrated and did the same in the second Raka; thus he completed four bowing and four prostrations. The sun (eclipse) had cleared before he finished the prayer. (After the prayer) he stood up, glorified and praised Allah as He deserved and then said, “The sun and the moon are two of the signs of Allah. They do not eclipse because of the death or the life (i.e. birth) of someone. When you see them make haste for the prayer.” Narrated Az-Zuhri: I said to ‘Ursa, “When the sun eclipsed at Medina your brother (‘Abdullah bin Az-Zubair) offered only a two-Rakat prayer like that of the morning (Fajr) prayer.” ‘Ursa replied, “Yes, for he missed the Prophet’s tradition (concerning this matter).”