Jabir bin Abdullah reported,

A bedouin Arabi pledged allegiance to the Messenger of Allah ﷺ upon Islam. Then the Arabi was struck by a fever in Medina, so he came to the Messenger of Allah ﷺ and said, "Messenger of Allah, release me from my pledge."The Messenger of Allah ﷺ refused.Then he came again and said, "Release me from my pledge."He refused.Then he came again and said, "Release me from my pledge."He refused.So the Arabi left, and the Messenger of Allah ﷺ said, "Medina is like a blacksmith's bellows. It expels its impurities and its goodness shines forth."

Bukhari 7211

Sahih

حدثنا عبد الله بن يوسف أخبرنا مالك عن محمد بن المنكدر

عن جابر بن عبد الله

أن أعرابيا بايع رسول الله ﷺ على الإسلام فأصاب الأعرابي وعك بالمدينة فأتى الأعرابي إلى رسول الله ﷺ فقال يا رسول الله أقلني بيعتي فأبى رسول الله ﷺ ثم جاءه فقال أقلني بيعتي فأبى ثم جاءه فقال أقلني بيعتي فأبى فخرج الأعرابي فقال رسول الله ﷺ إنما المدينة كالكير تنفي خبثها وينصع طيبها

البخاري 7211صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Rulings
Chapter
Whoever sold then asked to cancel the sale
Numbering
Darussalam 7211
Bukhari 7211