It has been narrated on the authority of Hafsa daughter of Sirin who said: Anas bin Malik (RA) asked me the cause of death of Yahya bin 'Abu 'Amra. I said: (He died) of plague. He said: The Messenger of Allah (ﷺ) said that death by plague is martyrdom for a Muslim.