Sahih al-Bukhari 1871
Book 29: Virtues of Madinah · Hadith 5
Hadith text
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنْ يَحْيَى بْنِ سَعِيدٍ، قَالَ سَمِعْتُ أَبَا الْحُبَابِ، سَعِيدَ بْنَ يَسَارٍ يَقُولُ سَمِعْتُ أَبَا هُرَيْرَةَ ـ رضى الله عنه ـ يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم. " أُمِرْتُ بِقَرْيَةٍ تَأْكُلُ الْقُرَى يَقُولُونَ يَثْرِبُ. وَهْىَ الْمَدِينَةُ، تَنْفِي النَّاسَ كَمَا يَنْفِي الْكِيرُ خَبَثَ الْحَدِيدِ ".
Narrated Abu Huraira:Allah's Messenger (ﷺ) 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
Abu Huraira (رضی اللہ عنہ) bataate hain: Allah ke Rasool ne farmaya: "Mujhe ek aise shehar mein hijrat karne ka hukum diya gaya jo doosre shehron ko nigal jaayega (fatah karega) aur use Yathrib kehte hain, aur yehi Madina hai, aur yeh (buri cheezein) is tarah bahar nikalta hai jaise bhaṭTi lohe ki gandi cheezein bahar nikaalti hai."
Sahih al-Bukhari 1871 · Book 29, Hadith 5