Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:53:44

And that it is He who causes death and gives life  

and that it is He Who brings death, in this world, and gives life, for resurrection,
القرآن:٥٣:٤٤

وَأَنَّهُ هُوَ أَمَاتَ وَأَحْيَا  

{وأنه هو أمات} في الدنيا {وأحيا} للبعث.

See similar narrations below:

Collected by Ṭabarānī
tabarani:2838Qays b. Abū Qays al-Bukhārī > Qutaybah b. Saʿīd > Ibn Lahīʿah > Abū Qabīl > Lammā Qutil al-Ḥusayn b. ʿAlī Ānkasafat al-Shams Kasfah Ḥattá Badat al-Kawākib Niṣf al-Nahār Ḥattá Ẓanannā

[Machine] "It is she who"  

الطبراني:٢٨٣٨حَدَّثَنَا قَيْسُ بْنُ أَبِي قَيْسٍ الْبُخَارِيُّ ثنا قُتَيْبَةُ بْنُ سَعِيدٍ ثنا ابْنُ لَهِيعَةَ عَنْ أَبِي قَبِيلٍ قَالَ «§لَمَّا قُتِلَ الْحُسَيْنُ بْنُ عَلِيٍّ ؓ انْكَسَفَتِ الشَّمْسُ كَسْفَةً حَتَّى بَدَتِ الْكَوَاكِبُ نِصْفَ النَّهَارِ حَتَّى ظَنَنَّا

أَنَّهَا هِيَ»