حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، زَوْجِ النَّبِيِّ صلى الله عليه وسلم أَنَّهَا قَالَتْ خَسَفَتِ الشَّمْسُ فِي عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَصَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم بِالنَّاسِ فَقَامَ فَأَطَالَ الْقِيَامَ ثُمَّ رَكَعَ فَأَطَالَ الرُّكُوعَ ثُمَّ قَامَ فَأَطَالَ الْقِيَامَ وَهُوَ دُونَ الْقِيَامِ الأَوَّلِ ثُمَّ رَكَعَ فَأَطَالَ الرُّكُوعَ وَهُوَ دُونَ الرُّكُوعِ الأَوَّلِ ثُمَّ رَفَعَ فَسَجَدَ ثُمَّ فَعَلَ فِي الرَّكْعَةِ الآخِرَةِ مِثْلَ ذَلِكَ ثُمَّ انْصَرَفَ وَقَدْ تَجَلَّتِ الشَّمْسُ فَخَطَبَ النَّاسَ فَحَمِدَ اللَّهَ وَأَثْنَى عَلَيْهِ ثُمَّ قَالَ ‏"‏ إِنَّ الشَّمْسَ وَالْقَمَرَ آيَتَانِ مِنْ آيَاتِ اللَّهِ لاَ يَخْسِفَانِ لِمَوْتِ أَحَدٍ وَلاَ لِحَيَاتِهِ فَإِذَا رَأَيْتُمْ ذَلِكَ فَادْعُوا اللَّهَ وَكَبِّرُوا وَتَصَدَّقُوا - ثُمَّ قَالَ - يَا أُمَّةَ مُحَمَّدٍ وَاللَّهِ مَا مِنْ أَحَدٍ أَغْيَرَ مِنَ اللَّهِ أَنْ يَزْنِيَ عَبْدُهُ أَوْ تَزْنِيَ أَمَتُهُ يَا أُمَّةَ مُحَمَّدٍ وَاللَّهِ لَوْ تَعْلَمُونَ مَا أَعْلَمُ لَضَحِكْتُمْ قَلِيلاً وَلَبَكَيْتُمْ كَثِيرًا ‏"‏ ‏.‏

Yahya related to me from Malik from Hisham ibn Urwa from hisfather that A'isha, the wife of the Prophet, may Allah bless him andgrant him peace, said, "There was an eclipse of the sun in the time ofthe Messenger of Allah, may Allah bless him and grant him peace, andthe Messenger of Allah, may Allah bless him and grant him peace, ledthe people in prayer. He stood, and did so for a long time. Then hewent into ruku, and made the ruku long. Then he stood again, and didso for a long time, though not as long as the first time. Then he wentinto ruku, and made the ruku long, though not as long as thefirsttime. Then he rose, and went down into sajda. He then did the same inthe second raka, and by the time he had finished the sun had appeared.He then gave a khutba to the people, in which he praised Allah andthen said, 'The sun and the moon are two of Allah's signs. They do noteclipse for anyone's death nor for anyone's life. When you see aneclipse, call on Allah and say, "Allah is greater" and give sadaqa.'Then he said, 'O community of Muhammad! ByAllah, there is no-one morejealous than Allah of a male or female slave of his who commitsadultery. O community of Muhammad! By Allah, if you knew what I knew,you would laugh little and weep much'." Translation Not Available

Book Ref: Muwatta Imam Malik Book 12 Hadith 448
Web Ref:  Muwatta Imam Malik Book 12 Hadith 1