Narrated Abdullah bin al-Zubayr (ra) stopped speaking when he heard a thunder-clap and said:
“Glory be to him whose praise the thunderclap sings and the angels glorify in awe of him”. He used to say, then, that the thunder-clap is a stern warning for the dwellers of earth.
Awsat bin Ismail has narrated that he heard Abu Bakr (ra) say after the death of the Prophet (ﷺ) “This is the very place where the Prophet (ﷺ), had stood in the first year of Hijrah”. Saying that, he began to weep and added, "Hold on to truth because that is piety and both these things will carry a man to paradise. And, keep away from falsehood because it is a very grave sin and both of them will carry one to hell. And ask Allah for security because nothing greater than it is given to anyone apart from belief, and do not sever ties among yourselves. Do not turn your backs to one another nor be jealous of one another. And do not harbor mutual hatred. And, live as slaves of Allah, brothers of one another."
Narrated It is reported by Salim bin Abdullah on the authority of his father (Abdullah bin Umar (ra)) that when the prophet (ﷺ) heard a thunder-clap or a thunder-bolt, he would make this supplication:
“O Allah, slay us not with your lightening and destroy us not with your punishment. But, preserve us before that.”