Concerning Thunder
ʿAbd Allāh ibn al-Zubayr (may Allah be pleased with him) would fall silent whenever he heard thunder and say, “Subḥāna alladhī yusabbiḥu al-raʿdu bi-ḥamdih, wa-l-malāʾikatu min khīfatih” (Glory be to the One Whom the thunder praises with His own praise, and [so do] the angels in awe of Him).
Kaʿb said, “Whoever repeats that three times will be kept safe from that thunder.”
ʿAbd Allāh ibn ʿUmar (may Allah be pleased with them both) related that when the Prophet ﷺ heard the sound of thunder and lightning he would supplicate, “Allāhumma lā taqtulnā bi-ghaḍabik wa-lā tuhliknā bi-ʿadhābik, waʿāfinā qabla dhālik” (O Allah, do not seize us with Your wrath, do not destroy us with Your punishment, and grant us well-being before that happens). Recorded by al-Tirmidhī.
Concerning the Descent of Rain
Zayd ibn Khālid al-Juhanī (may Allah be pleased with him) said, “The Messenger of Allah ﷺ led us in the dawn prayer at al-Hudaybiyah after rain had fallen during the night. When he finished, he turned to the people and said:”