Hadith 15132

(حديث مرفوع) حَدَّثَنَا حُسَيْنُ بْنُ مُحَمَّدٍ ، حَدَّثَنَا الْفُضَيْلُ يَعْنِي ابْنَ سُلَيْمَانَ , حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي يَحْيَى , عَنِ الْحَارِثِ بْنِ أَبِي يَزِيدَ , عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ الْأَنْصَارِيِّ : أَنَّ قَوْمًا قَدِمُوا الْمَدِينَةَ مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَبِهَا مَرَضٌ , فَنَهَاهُمُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنْ يَخْرُجُوا حَتَّى يَأْذَنَ لَهُمْ , فَخَرَجُوا بِغَيْرِ إِذْنِهِ , فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " إِنَّمَا الْمَدِينَةُ كَالْكِيرِ , تَنْفِي الْخَبَثَ كَمَا يَنْفِي الْكِيرُ خَبَثَ الْحَدِيدِ " .
It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that some people came to the service of the Prophet (peace and blessings be upon him) and pledged allegiance at his blessed hand. At that time, there was an epidemic in Madinah, so the Prophet (peace and blessings be upon him) forbade them from leaving Madinah Munawwarah without permission. However, they left Madinah without taking permission. Upon this, the Prophet (peace and blessings be upon him) said that Madinah Munawwarah is like a furnace which removes its impurities.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 15132
Hadith Grading حکم دارالسلام: حديث صحيح، وهذا إسناد محتمل للتحسين، والحارث بن أبى يزيد روى عنه اثنان، وذكره ابن حبان فى الثقات