TABARANI 3746:
from Usāmah b. Zayd And Saʿd b. Mālik Wakhuzaymah b. Thābit —
[Machine] The Messenger of Allah ﷺ said, "Indeed, this pain is a curse and a residue of a punishment that afflicted a people before you. So if it is in a land, do not enter it. And if it is in a land where you are, do not approach it." Meaning, the plague.
الطبراني ٣٧٤٦:
عن اسامه بن زيد و سعد بن مالك وخزيمه بن ثابت —
قَالَ رَسُولُ اللهِ ﷺ «إِنَّ هَذَا الْوَجَعَ رِجْسٌ وَبَقِيَّةُ عَذَابٍ عُذِّبَ فِيهِ قَوْمٌ قَبْلَكُمْ فَإِذَا كَانَ بِأَرْضٍ فَلَا تَدْخُلُوهَا وَإِذَا كَانَ بِأَرْضٍ وَأَنْتُمْ بِهَا فَلَا تَدْنُوا مِنْهُ» يَعْنِي الطَّاعُونَ
hadithunlocked.com