TABARANI 14703:
from ʿUqbah b. ʿAmr Abū Masʿūd —
[Machine] The sun was eclipsed during the time of the Messenger of Allah ﷺ, and some people said, "The sun has eclipsed because of the death of Ibrahim ﷺ ." The Prophet ﷺ said, "Verily, the sun and the moon do not eclipse due to the death or life of anyone. Rather, they are two signs among the signs of Allah. So, when you see them, invoke Allah and offer prayer."
الطبراني ١٤٧٠٣:
عن عقبه بن عمرو ابو مسعود —
انْكَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ فَقَالَ أُنَاسٌ إِنَّمَا انْكَسَفَتِ الشَّمْسُ لِمَوْتِ إِبْرَاهِيمَ عَلَيْهِ السَّلَامُ فَقَالَ النَّبِيُّ ﷺ «إِنَّ الشَّمْسَ وَالْقَمَرَ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ وَلَكِنَّهُمَا آيَتَانِ مِنْ آيَاتِ اللهِ فَإِذَا رَأَيْتُمُوهَا فَصَلُّوا»
hadithunlocked.com