Sa’d reported: The Prophet, peace and blessings be upon him, said, “If you hear of a plague in a land, do not go into it. If it happens in land where you are, do not go out of it.”
Source: Ṣaḥīḥ al-Bukhārī 5728, Ṣaḥīḥ Muslim 2218
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ سَعْد عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ قَالَ إِذَا سَمِعْتُمْ بِالطَّاعُونِ بِأَرْضٍ فَلَا تَدْخُلُوهَا وَإِذَا وَقَعَ بِأَرْضٍ وَأَنْتُمْ بِهَا فَلَا تَخْرُجُوا مِنْهَا
5728 صحيح البخاري كتاب الطب باب ما يذكر في الطاعون
2218 صحيح مسلم كتاب السلام باب الطاعون والطيرة والكهانة ونحوها