(13) باب مَا يُكْرَهُ مِنَ الاِحْتِيَالِ فِي الْفِرَارِ مِنَ الطَّاعُونِ
Narrated `Abdullah bin 'Amir bin Rabi`a:
`Umar bin Al-Khattab left for Sham, and when he reached a placed called Sargh, he came to know that there was an outbreak of an epidemic (of plague) in Sham. Then `AbdurRahman bin `Auf told him that Allah's Messenger (ﷺ) said, "If you hear the news of an outbreak of an epidemic (plague) in a certain place, do not enter that place: and if the epidemic falls in a place while you are present in it, do not leave that place to escape from the epidemic." So `Umar returned from Sargh.
Reference: Sahih al-Bukhari 6973
In-book reference: Book 90, Hadith 20
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 9, Book 86, Hadith 103