Narrated Abu Bakra (RA): We were with Allahs Apostle ﷺ when the sun eclipsed. Allahs Apostle ﷺ stood up dragging his cloak till he entered the Mosque. He led us in a two-Rakat prayer till the sun (eclipse) had cleared. Then the Prophet ﷺ said, "The sun and the moon do not eclipse because of someones death. So whenever you see these eclipses pray and invoke (Allah) till the eclipse is over."