Sayyidina Abdullah ibn Umar (RA) reported that when Allah’s Messenger (SAW) heard a thunderclap and the thunderbolt, he would say:
“ 0 Allah, do not slay us with Your anger and do not destroy us with Your punishment, but forgive us before that.”
[Ahmed 5767]