Book 47: Whoever gave the Bai'a and then cancelled it
Sahih al-Bukhari
Sahih al-Bukhari 7211
Abdullah bin Yusuf narrated to us that Malik told me. He narrated from Muhammad bin Munkadir, and Ibn Munkadir from Hazrat Jabir bin Abdullah (ra), that a Bedouin pledged allegiance to the Messenger of Allah (saw) to remain steadfast in Islam. Then that Bedouin began to have fever in Medina itself. So the Bedouin came to the Messenger of Allah (saw) and said: O Messenger of Allah (saw), cancel my pledge of allegiance. The Messenger of Allah (saw) refused. Then he came to him (saw) and said: Cancel my pledge of allegiance. He (saw) did not agree. Then he came to him (saw) and said: Cancel my pledge of allegiance. Even then he (saw) did not agree. Upon this the Bedouin went out and left. The Messenger of Allah (saw) said: “Medina is like a furnace: it casts out its dross, and what is pure in it becomes refined.”
AI-translated by Islam-Today