[Machine] Indeed, the Messenger of Allah, ﷺ , used to command us to pray during the eclipse of the sun and the moon. So when you see them, hasten to the prayer, for it will be the one you are warned against if you are not on guard, and if it is not there, then you have done well and gained it.
إِنَّ رَسُولَ اللهِ ﷺ كَانَ يَأْمُرُنَا بِالصَّلَاةِ عِنْدَ كُسُوفِ الشَّمْسِ وَالْقَمَرِ فَإِذَا رَأَيْتُمُوهُ قَدْ أَصَابَهُمَا فَافْزَعُوا إِلَى الصَّلَاةِ؛ فَإِنَّهَا إِنْ كَانَتِ الَّذِي تَحْذَرُونَ كَانَتْ وَأَنْتُمْ عَلَى غَيْرِ غَفْلَةٍ وَإِنْ لَمْ يَكُنْ كُنْتُمْ قَدْ أَصَبْتُمْ خَيْرًا وَكَسَبْتُمُوهُ