Sahih al-Bukhari, Hadith 7322 ⓘ
Narrated Jabir bin 'Abdullah As-Salami: A bedouin gave the Pledge of allegiance for embracing Islam to Allah's Messenger, and then he got an attack of fever in Medina and came to Allah's Messenger: and said, "O Allah's Messenger! Cancel my pledge." Allah's Messenger refused to do so. The bedouin came to him again and said, "Cancel my pledge," but he refused again, and then again, the bedouin came to him and said, "Cancel my pledge," and Allah's Messenger refused. The bedouin finally went away, and Allah's Messenger said, "Medina is like a pair of bellows (furnace), it expels its impurities while it brightens and clears its good.'
حَدَّثَنَا إِسْمَاعِيلُ، حَدَّثَنِي مَالِكٌ، عَنْ مُحَمَّدِ بْنِ الْمُنْكَدِرِ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ السَّلَمِيِّ، أَنَّ أَعْرَابِيًّا، بَايَعَ رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى الإِسْلاَمِ، فَأَصَابَ الأَعْرَابِيَّ وَعْكٌ بِالْمَدِينَةِ، فَجَاءَ الأَعْرَابِيُّ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ أَقِلْنِي بَيْعَتِي. فَأَبَى رَسُولُ اللَّهِ صلى الله عليه وسلم ثُمَّ جَاءَهُ فَقَالَ أَقِلْنِي بَيْعَتِي. فَأَبَى ثُمَّ جَاءَهُ فَقَالَ أَقِلْنِي بَيْعَتِي. فَأَبَى فَخَرَجَ الأَعْرَابِيُّ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِنَّمَا الْمَدِينَةُ كَالْكِيرِ، تَنْفِي خَبَثَهَا، وَيَنْصَعُ طِيبُهَا " .
also referenced under: Book 96, Hadith 52 (In-Book) & Volume 9, Book 92, Hadith 424 (USC-MSA)