(10) باب الْخُرُوجِ مِنَ الطَّاعُونِ
Narrated 'Abd Allah b. 'Abbas:
That 'Abd al-Rahman b.'Awf said: I heard the Messenger of Allah (ﷺ) say: When you hear that it is breaking out in a certain territory, do not go there. If it breaks out in the territory you are in, do not go out fleeing away from it. By "it" he referred to the plague.
Reference: Sunan Abi Dawud 3103
In-book reference: Book 21, Hadith 15
English translation: Book 20, Hadith 3097
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.