Salat al-Ayat

Abu Ja`far عليه السلام was asked about these winds and darkness, does one pray for it? So he said: All causes of fear from the sky of darkness or wind or alarm, then pray the salat of the eclipse for it until it calms down.

Abu Ja`far عليه السلام said: Allah has not sent a wind but as a mercy or as a punishment. So when you have seen it, say “Allaahumma innaa nas’aluka khayrahaa wa khayra maa ursilat lahu wa na`oodhu bika min sharrihaa wa sharri maa ursilat lahu” (Allahumma, we ask You for its good and the good of what it was sent for, and we seek refuge with You from its evil and from the evil of it was sent for) and do takbir. And raise your voices with the takbir for it breaks it.