Mishkat
al-Masabih
مشكاة المصابيح
The Rites of Pilgrimage
كتاب المناسك
Chapter 16a: The Sacred Territory of Medina. May God most high protect it - Section 1
باب حرم المدينة حرسها الله تعالى - الفصل الأول
Mishkat al-Masabih 2739
Jabir b. ‘Abdallah told of a desert Arab who had sworn allegiance to Allah's Messenger ﷺ, but who, when he suffered from a bout of fever in Medina, came to the Prophet (ﷺ) and said, "Cancel my oath of allegiance, Muhammad;” but Allah's Messenger ﷺ refused. He came again with the same request and again he refused. He came once more with the same request, and when he again refused, the desert Arab went off. Allah's Messenger ﷺ then said, "Medina is like bellows which drives away its impurity and purifies what is good in it.” Bukhari and Muslim.
وَعَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ: أَنَّ أَعْرَابِيًّا بَايَعَ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَأَصَابَ الْأَعْرَابِيَّ وَعَكٌ بِالْمَدِينَةِ فَأَتَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ: يَا مُحَمَّدُ أَقِلْنِي بَيْعَتِي فَأَبَى رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ثُمَّ جَاءَهُ فَقَالَ: أَقِلْنِي بَيْعَتِي فَأَبَى ثُمَّ جَاءَهُ فَقَالَ: أَقِلْنِي بَيْعَتِي فَأَبَى فَخَرَجَ الْأَعْرَابِيُّ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّمَا الْمَدِينَةُ كَالْكِيرِ تَنْفِي خبثها وتنصع طيبها»
In-book reference: Mishkat al-Masabih Book 10 Chapter 16a Hadith 1