صحيح البخاري Sahih Bukhari كتاب فضائل المدينة The Book About The Virtues Or Al-Madina.
بَابُ فَضْلِ الْمَدِينَةِ، وَأَنَّهَا تَنْفِي النَّاسَ:

(2) Chapter. Superiority of Al-Madina. And that it expells (evil, vicious) persons.

1 hadith
Hadith 1871
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ ، أَخْبَرَنَا مَالِكٌ ، عَنْ يَحْيَى بْنِ سَعِيدٍ ، قَالَ : سَمِعْتُ أَبَا الْحُبَابِ سَعِيدَ بْنَ يَسَارٍ ، يَقُولُ : سَمِعْتُ أَبَا هُرَيْرَةَرَضِيَ اللَّهُ عَنْهُ ، يَقُولُ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " أُمِرْتُ بِقَرْيَةٍ تَأْكُلُ الْقُرَى ، يَقُولُونَ يَثْرِبُ وَهِيَ الْمَدِينَةُ ، تَنْفِي النَّاسَ كَمَا يَنْفِي الْكِيرُ خَبَثَ الْحَدِيدِ " .
Narrated Abu Huraira: Allah's Apostle said, "I was ordered to migrate to a town which will swallow (conquer) other towns and is called Yathrib and that is Medina, and it turns out (bad) persons as a furnace removes the impurities of iron.
Hadith Reference Sahih Bukhari / The Book About The Virtues Or Al-Madina. / Hadith: 1871
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة