Mishkat al-Masabih
Mishkat al-Masabih 1521
وَعَنِ ابْنِ عُمَرَ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: كَانَ إِذَا سَمِعَ صَوْتَ الرَّعْدِ وَالصَّوَاعِقَ قَالَ: «اللَّهُمَّ لَا تَقْتُلْنَا بِغَضَبِكَ وَلَا تُهْلِكْنَا بِعَذَابِكَ وَعَافِنَا قَبْلَ ذَلِكَ» . رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ غَرِيبٌ
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Ibn Umar reported that when the Prophet heard the sound of thunder and lightning, he would say: O God, do not kill us with Your anger or destroy us with Your punishment; grant us well-being before that.
Ahmad and al-Tirmidhi transmitted it. Al-Tirmidhi said: This is a gharib hadith.
Notes and open questions — unreviewed
Gharib is al-Tirmidhi grading and is left in transliteration.