Amir bin Saad bin Abu Waqqas reported,

A man asked Saad bin Abu Waqqas about the plague.Usama bin Zayd said, "I will tell you about it. The Messenger of Allah ﷺ said, 'It is a punishment, or an affliction, that Allah sent upon a group of the Children of Israil, or upon people who lived before you. So if you hear that it has struck a land, do not enter it while it is there, and if it breaks out in a land where you already are, do not leave in flight from it.'"

Muslim 5776

Sahih

و حدثنا أبو الربيع سليمان بن داود وقتيبة بن سعيد قالا حدثنا حماد وهو ابن زيد ح و حدثنا أبو بكر بن أبي شيبة حدثنا سفيان بن عيينة كلاهما عن عمرو بن دينار بإسناد ابن جريج نحو حديثه

مسلم 5776صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Peace
Chapter
Plague, superstitious belief in omens, soothsaying, and similar matters
Numbering
Darussalam 5776
Muslim 5776