Question: Is a prayer made for other signs like earthquakes and lightning?
Answer: “A Hadith was reported in Nasaai from Ibn Abbas radiallahu anhumma about the salahtul- Ayaat (the prayer of the signs). Yes.
Questioner: It’s form is like the eclipse prayer?
Shaikh: I do not know*.
[Sharh Sunan Ibn Majah no. 96]
* Translator’s note: In regards to the form of the prayer, the narration of Ibn ‘Abbas radiallahu anhumma states:
فصارت صلاته ست ركعات واربع سجدات
“…So his prayer became six ruku’ (bowing) and four prostrations…”
[Reported by Bayhaaqi in Sunan al-Kubra (3/343) and he said: “It is established from Ibn ‘Abbas“]
And Allah knows best.
Faisal Ibn Abdul Qaadir Ibn Hassan