AHMAD 1536:
from Ḥabīb b. Abū Thābit —
[Machine] I arrived at the city and we were told that the plague had occurred in Kufa. I asked, "Who narrated this hadith?" It was said, "Aamir ibn Saad." I then said, "But he was absent." I met Ibrahim ibn Saad and he told me that he had heard Osama ibn Zaid narrating to Saad that the Messenger of Allah ﷺ said, "When a plague breaks out in a land, do not enter it. And if it breaks out while you are in it, do not leave it." I asked, "Did you hear from Osama?" He replied, "Yes."
أحمد ١٥٣٦:
عن حبيب بن ابو ثابت —
قَدِمْتُ الْمَدِينَةَ فَبَلَغَنَا أَنَّ الطَّاعُونَ وَقَعَ بِالْكُوفَةِ قَالَ فَقُلْتُ مَنْ يَرْوِي هَذَا الْحَدِيثَ؟ فَقِيلَ عَامِرُ بْنُ سَعْدٍ قَالَ وَكَانَ غَائِبًا فَلَقِيتُ إِبْرَاهِيمَ بْنَ سَعْدٍ فَحَدَّثَنِي أَنَّهُ سَمِعَ أُسَامَةَ بْنَ زَيْدٍ يُحَدِّثُ سَعْدًا أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا وَقَعَ الطَّاعُونُ بِأَرْضٍ فَلا تَدْخُلُوهَا وَإِذَا وَقَعَ وَأَنْتُمْ بِهَا فَلا تَخْرُجُوا مِنْهَا قَالَ قُلْتُ أأَنْتَ سَمِعْتَ أُسَامَةَ؟ قَالَ نَعَمْ
hadithunlocked.com