← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #6936 · Judgments (Ahkaam)

Narrated Jabir bin `Abdullah:

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، عَنْ مَالِكٍ، عَنْ مُحَمَّدِ بْنِ الْمُنْكَدِرِ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ أَنَّ أَعْرَابِيًّا بَايَعَ رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى الإِسْلاَمِ، فَأَصَابَهُ وَعْكٌ فَقَالَ أَقِلْنِي بَيْعَتِي‏.‏ فَأَبَى، ثُمَّ جَاءَهُ فَقَالَ أَقِلْنِي بَيْعَتِي‏.‏ فَأَبَى، فَخَرَجَ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ الْمَدِينَةُ كَالْكِيرِ، تَنْفِي خَبَثَهَا، وَيَنْصَعُ طِيبُهَا ‏"‏‏.‏

A bedouin gave the Pledge of allegiance to Allah's Messenger (ﷺ) for Islam and the bedouin got a fever
where upon he said to the Prophet (ﷺ) "Cancel my Pledge." But the Prophet (ﷺ) refused. He came to him
(again) saying, "Cancel my Pledge.' But the Prophet (ﷺ) refused. Then (the bedouin) left (Medina). Allah's
Apostle said: "Medina is like a pair of bellows (furnace): It expels its impurities and brightens and
clears its good."