It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that when the Prophet (peace and blessings be upon him) heard the sound of thunder, he would make this supplication: 'Allahumma la tuhlikna bi-shay'in min adhabik, wa afina qabla dhalik' (O Allah, do not destroy us with any of Your punishments, and grant us well-being before that).
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Salim except Abu Matar, and no one narrated it from Abu Matar except al-Hajjaj, and Abd al-Wahid bin Ziyad is alone in it."
Hadith Referenceالمعجم الأوسط / باب الميم / 5925
Hadith Takhrij«أخرجه الحاكم فى «المستدرك» برقم: 7867، والنسائي فى «السنن الكبرى» برقم: 10698، 10697، والترمذي فى «جامعه» برقم: 3450، والبيهقي فى «السنن الكبرى» برقم: 6564، وأحمد فى «مسنده» برقم: 5867، وأبو يعلى فى «مسنده» برقم: 5507، وابن أبي شيبة فى «مصنفه» برقم: 29827، والطبراني فى «الكبير» برقم: 13230»