Translation
(56) Fighting for the Cause of Allah (Jihaad)
كتاب الجهاد والسير
(30) Chapter: There are seven martyrs other than killed in Jihad
(30) باب الشَّهَادَةُ سَبْعٌ سِوَى الْقَتْلِ
Sahih al-Bukhari 2830 

Narrated Anas bin Malik:

The Prophet (ﷺ) said, "Plague is the cause of martyrdom of every Muslim (who dies because of it).

حَدَّثَنَا بِشْرُ بْنُ مُحَمَّدٍ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا عَاصِمٌ، عَنْ حَفْصَةَ بِنْتِ سِيرِينَ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ الطَّاعُونُ شَهَادَةٌ لِكُلِّ مُسْلِمٍ ‏"‏‏.‏
Reference : Sahih al-Bukhari 2830
In-book reference : Book 56, Hadith 46
USC-MSA web (English) reference : Vol. 4, Book 52, Hadith 83
  (deprecated numbering scheme)