[Machine] The sun was eclipsed, so the Messenger of Allah ﷺ prayed and his prayer was narrated by Ibn Abbas that he ﷺ prayed two units (rak'ahs) in each unit (rak'ah), then he gave them a sermon and said, "Verily, the sun and the moon are two signs among the signs of Allah; they do not eclipse for the death or life of any person. So, when you witness that, hasten to the remembrance of Allah."
خَسَفَتِ الشَّمْسُ فَصَلَّى رَسُولُ اللَّهِ ﷺ فَحَكَى ابْنُ عَبَّاسٍ أَنَّ صَلَاتَهُ ﷺ رَكْعَتَيْنِ فِي كُلِّ رَكْعَةٍ رَكْعَتَيْنِ ثُمَّ خَطَبَهُمْ فَقَالَ «إِنَّ الشَّمْسَ وَالْقَمَرَ آيَتَانِ مِنْ آيَاتِ اللَّهِ لَا يَخْسِفَانِ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ فَإِذَا رَأَيْتُمْ ذَلِكَ فَافْزَعُوا إِلَى ذِكْرِ اللَّهِ»