Narrator:Anas ibn Mālik
حَدَّثَنَا حَامِدُ بْنُ عُمَرَ الْبَكْرَاوِيُّ، حَدَّثَنَا عَبْدُ الْوَاحِدِ، - يَعْنِي ابْنَ زِيَادٍ - حَدَّثَنَا عَاصِمٌ، عَنْ حَفْصَةَ بِنْتِ سِيرِينَ، قَالَتْ قَالَ لِي أَنَسُ بْنُ مَالِكٍ بِمَا مَاتَ يَحْيَى بْنُ أَبِي عَمْرَةَ قَالَتْ قُلْتُ بِالطَّاعُونِ . قَالَتْ فَقَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم "
الطَّاعُونُ شَهَادَةٌ لِكُلِّ مُسْلِمٍ "
It has been narrated on the authority of Hafsa daughter of Sirin who said:
Anas b. Malik asked me the cause of death of Yahya b. 'Abu 'Amra. I said: (He died) of plague. He said: The Messenger of Allah (ﷺ) said that death by plague is martyrdom for a Muslim.
Reported by Muslim (No. 1916a, 1916b), Al-Bukhari (No. 2830, 5732) and Ahmad (No. 12061, 12827, 12856, 13213, 13300).