Allah's Messenger (ﷺ) said, "Five are regarded as martyrs: They are those who die because of plague, Abdominal disease, drowning or a falling building etc., and the martyrs in Allah's Cause."
Sahih al-Bukhari Book 56, Hadith 45