Hadithcore
Mishkat al-Masabih, 1548

Usama b. Zaid reported God’s messenger as saying, “Plague is a punishment which was sent down on a section of the B. Isrs’il, or on people before your time. When you hear of it in a land do not go to it, and if it occurs in a land while you are in it do not go out fleeing from it. (Bukhari and Muslim.)

وَعَنْ أُسَامَةَ بْنِ زَيْدٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «الطَّاعُونُ رِجْزٌ أُرْسِلَ عَلَى طَائِفَةٍ مِنْ بَنِي إِسْرَائِيلَ أَوْ عَلَى مَنْ كَانَ قَبْلَكُمْ فَإِذَا سَمِعْتُمْ بِهِ بِأَرْضٍ فَلَا تَقْدَمُوا عَلَيْهِ وَإِذَا وَقَعَ بِأَرْضٍ وَأَنْتُمْ بِهَا فَلَا تَخْرُجُوا فِرَارًا مِنْهُ»

References1 variant
In-Book Reference
Book 5, Hadith 26
Related hadiths2
Compare isnād across 2 related chains →