Language:
كتاب الحيل
90  
Tricks
(13)
Chapter: Playing tricks to run from the disease of plague
(13)
باب مَا يُكْرَهُ مِنَ الاِحْتِيَالِ فِي الْفِرَارِ مِنَ الطَّاعُونِ
Sahih al-Bukhari 6974

Narrated 'Amir bin Sa`d bin Abi Waqqas:

That he heard Usama bin Zaid speaking to Sa`d, saying, "Allah's Messenger (ﷺ) mentioned the plague and said, 'It is a means of punishment with which some nations were punished and some of it has remained, and it appears now and then. So whoever hears that there is an outbreak of plague in some land, he should not go to that land, and if the plague breaks out in the land where one is already present, one should not run away from that land, escaping from the plague."

حَدَّثَنَا أَبُو الْيَمَانِ، حَدَّثَنَا شُعَيْبٌ، عَنِ الزُّهْرِيِّ، حَدَّثَنَا عَامِرُ بْنُ سَعْدِ بْنِ أَبِي وَقَّاصٍ، أَنَّهُ سَمِعَ أُسَامَةَ بْنَ زَيْدٍ، يُحَدِّثُ سَعْدًا أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم ذَكَرَ الْوَجَعَ فَقَالَ ‏ "‏ رِجْزٌ ـ أَوْ عَذَابٌ ـ عُذِّبَ بِهِ بَعْضُ الأُمَمِ، ثُمَّ بَقِيَ مِنْهُ بَقِيَّةٌ، فَيَذْهَبُ الْمَرَّةَ وَيَأْتِي الأُخْرَى، فَمَنْ سَمِعَ بِهِ بِأَرْضٍ فَلاَ يَقْدَمَنَّ عَلَيْهِ، وَمَنْ كَانَ بِأَرْضٍ وَقَعَ بِهَا فَلاَ يَخْرُجْ فِرَارًا مِنْهُ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6974
In-book reference : Book 90, Hadith 21
USC-MSA web (English) reference : Vol. 9, Book 86, Hadith 104
  (deprecated numbering scheme)