Narrated Abu Hurairah: The Prophet, peace be upon him, said, “I was ordered to migrate to a town which will swallow (conquer) other towns. It is called Yathrib and that is Madinah. It turns out (bad) persons as a furnace removes the impurities of iron.”
[3: 95- O.B. Sahih Al-Bukhari)