(32) باب الطَّاعُونِ وَالطِّيَرَةِ وَالْكَهَانَةِ وَنَحْوِهَا
'Amir b. Sa'd b. Abu Waqqas reported on the authority of his father that he asked Usama b. Zaid:
What have you heard from Allah's Messenger (ﷺ) about plague? Thereupon Usama said: Allah's Messenger (ﷺ) said: Plague is a calamity which was sent to Bani Isra'il or upon those who were before you. So when you hear that it has broken out in a land, don't go to it, and when it has broken out in the land where you are, don't run out of it. In the narration transmitted on the authority of Abu Nadr there is a slight variation of wording.
Reference: Sahih Muslim 2218 a
In-book reference: Book 39, Hadith 124
USC-MSA web (English) reference(deprecated numbering scheme): Book 26, Hadith 5493