Abu Hurairah reported,

The Messenger of Allah ﷺ said, "A time will come upon people when a man will call his cousin and relative, saying, 'Come to ease and prosperity! Come to ease and prosperity!' Yet Madinah is better for them, if only they knew. By the One in whose hand is my soul, no one leaves it out of dislike for it without Allah replacing him in it with someone better. Indeed, Madinah is like a blacksmith's bellows that expels impurity. The Hour will not come until Madinah drives out its wicked ones just as the bellows drives out the impurities of iron."

Muslim 3352

Sahih

حدثنا قتيبة بن سعيد حدثنا عبد العزيز يعني الدراوردي عن العلاء عن أبيه

عن أبي هريرة

أن رسول الله ﷺ قال يأتي على الناس زمان يدعو الرجل ابن عمه وقريبه هلم إلى الرخاء هلم إلى الرخاء والمدينة خير لهم لو كانوا يعلمون والذي نفسي بيده لا يخرج منهم أحد رغبة عنها إلا أخلف الله فيها خيرا منه ألا إن المدينة كالكير تخرج الخبيث لا تقوم الساعة حتى تنفي المدينة شرارها كما ينفي الكير خبث الحديد

مسلم 3352صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hajj
Chapter
Madinah expels its evil ones
Numbering
Darussalam 3352
Muslim 3352