The Sacred Territory of Medina. May God most high protect it - Section 1 Mishkat al-Masabih 2740
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا تَقُومُ السَّاعَةُ حَتَّى تَنْفِيَ الْمَدِينَةُ شِرَارَهَا كَمَا يَنْفِي الْكِيرُ خَبَثَ الْحَدِيد» . رَوَاهُ مُسلم
Translation
Abu Huraira reported God's messenger as saying, “The last hour will not come before Medina drives away its wicked people as the bellows drives away the impurity of iron." Muslim transmitted it.