Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:14762Mūsá > Ibn Lahīʿah > Abū al-Zubayr > Saʾalt Jābir > Khusūf al-Shams And al-Qamar > Jābir

[Machine] I heard the Prophet ﷺ say, "Verily, when the sun and the moon are eclipsed, or one of them, then when you see that, pray until the eclipse disappears, which one of them has been eclipsed."  

أحمد:١٤٧٦٢حَدَّثَنَا مُوسَى أَخْبَرَنَا ابْنُ لَهِيعَةَ عَنْ أَبِي الزُّبَيْرِ قَالَ سَأَلْتُ جَابِرًا عَنْ خُسُوفِ الشَّمْسِ وَالْقَمَرِ؟ قَالَ جَابِرٌ

سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ إِنَّ الشَّمْسَ وَالْقَمَرَ إِذَا خُسِفَا أَوْ أَحَدُهُمَا فَإِذَا رَأَيْتُمْ ذَلِكَ فَصَلُّوا حَتَّى يَنْجَلِيَ خُسُوفُ أَيِّهِمَا خُسِفَ