In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
Dear questioner! Thank you for your question and the confidence you place in our service and we pray to Allah to enable us render this service purely for His Sake.
In the first place, we would like to note that a Muslim looks at any cosmic event as a sign of the power and existence of Allah. A Muslim resorts to Allah in all times,specially at these times of solar and lunar eclipse when he needs His help.
During the time of the Prophet (peace and blessings be upon him), a solar eclipse happened. People hurried to link this to a worldly event, namely, the death of the Prophet’s son,Ibrahim. The Prophet (peace and blessings be upon him) explained the truth of this matter to them. In hisSahih, Imam Muslim reported that `A’ishah (may Allah be pleased with her) said: There was a solar eclipse in the time of the Messenger of Allah (peace and blessings be upon him). He stood up to pray and prolonged his standing very much. He then bowed and prolonged very much his bowing. He then raised his head and prolonged his standing much, but it was less than the (duration) of the first standing. He then bowed and prolonged bowing much, but it was less than the duration of his first bowing. He then prostrated and then stood up and prolonged the standing, but it was less than the first standing. He then bowed and prolonged his bowing, but it was less than the first bowing. He then lifted his head and then stood up and prolonged his standing, but it was less than the first standing. He then bowed and prolonged bowing and it was less than the first bowing. He then prostrated himself; then he turned about, and the sun had become bright, and he addressed the people. He praised Allah and lauded Him and said: “The sun and the moon are two signs of Allah; they are not eclipsed on account of anyone’s death or on account of anyone’s birth. So when you see them, glorify and supplicate Allah, observe the Prayer, give alms. OUmmah of Muhammad, none is more indignant than Allah when His servant or maid commits fornication. O people of Muhammad, by Allah, if you knew what I know, you would weep much and laugh little. O Allah, witness, I informed them.”
In his well known book, The Prescribed Prayer Made Simple, the prominent Muslim scholar SheikhTajjuddin B. Shu`aib, Director of King FahdMosque in Culver City, California, USA, wrote:
Excerpted, with slight modifications, from:Does the Eclipse Affect the Fetus?