Wahb bin Jarir narrated it from Shu'bah, and in its text he said, from the Prophet (peace and blessings be upon him): "This plague is the remnant of a scourge and a punishment with which a people were punished. So when it is in a land, do not go to it; and when it breaks out in a land where you are already present, do not leave it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6558