According to Hadeeth narrated in Shia and Sunni books: Every lover of Ahlul Bayt (AS) will die as a martyr.
(Tafseer Al-Kashshaf by al-Zamakhshari)
, and Tafseer al-Qurtobi,
and Tafseer al-Fakhr al-Raazi.
There ae other narrations about those believers who die because of pandemic like plague that they may get the reward of a martyr.