Sahih al-Bukhari
Sahih al-Bukhari 3202
حَدَّثَنَا إِسْمَاعِيلُ بْنُ أَبِي أُوَيْسٍ، قَالَ حَدَّثَنِي مَالِكٌ، عَنْ زَيْدِ بْنِ أَسْلَمَ، عَنْ عَطَاءِ بْنِ يَسَارٍ، عَنْ عَبْدِ اللَّهِ بْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " إِنَّ الشَّمْسَ وَالْقَمَرَ آيَتَانِ مِنْ آيَاتِ اللَّهِ، لاَ يَخْسِفَانِ لِمَوْتِ أَحَدٍ وَلاَ لِحَيَاتِهِ، فَإِذَا رَأَيْتُمْ ذَلِكَ فَاذْكُرُوا اللَّهَ ".
Ismaʿil ibn Abi Uways narrated to us, saying: Malik narrated to me, from Zayd ibn Aslam, from ʿAtaʾ ibn Yasar, from ʿAbd Allah ibn ʿAbbas (may Allah be pleased with them both), who said: The Prophet (ﷺ) said: ‘The sun and the moon are two signs among Allah’s signs. They do not eclipse because of anyone’s death or life. When you see that, remember Allah.’
Translation notes
The English witness adds ‘celebrate the praises of Allah’ and glosses this as prayer; the Arabic says simply ‘remember Allah.’