Bulugh al-Maram 500
عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ - رضي الله عنه - قَالَ: انْكَسَفَتِ الشَّمْسُ عَلَى عَهْدِ رَسُولِ اللَّهِ - صلى الله عليه وسلم - يَوْمَ مَاتَ إِبْرَاهِيمُ, فَقَالَ النَّاسُ: انْكَسَفَتِ الشَّمْسُ لِمَوْتِ إِبْرَاهِيمَ, فَقَالَ رَسُولُ اللَّهِ - صلى الله عليه وسلم: «إِنَّ الشَّمْسَ وَالْقَمَرَ آيَتَانِ مِنْ آيَاتِ اللَّهِ لَا يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ وَلَا لِحَيَاتِهِ, فَإِذَا رَأَيْتُمُوهُمَا, فَادْعُوا اللَّهَ وَصَلُّوا, حَتَّى تَنْكَشِفَ». مُتَّفَقٌ عَلَيْهِ. وَفِي رِوَايَةٍ لِلْبُخَارِيِّ: «حَتَّى تَنْجَلِيَ».
Al-Mughirah ibn Shuʿbah, may Allah be pleased with him, said: The sun was eclipsed in the time of the Messenger of Allah ﷺ on the day Ibrahim died. The people said: "The sun has been eclipsed because of the death of Ibrahim." The Messenger of Allah ﷺ said: "The sun and the moon are two of the signs of Allah; they are not eclipsed for the death of anyone or for his life. When you see them [eclipsed], supplicate to Allah and pray until it clears." Agreed upon. And in a narration of al-Bukhari: "until it becomes bright."