‘Abdallah b. ‘Amr reported God’s Messenger as saying, “If anyone swears allegiance to an imam, giving him his hand in ratification and sincere agreement in his heart, he must obey him if he can. Then if another comes and contends with him, cut off that other one’s head.” Muslim transmitted it.
The Offices of Commander and Qadi - Mishkat al-Masabih 3679
This tradition from 'Abdallah b. 'Amr establishes the fundamental Islamic principle of political allegiance (bay'ah) and obedience to legitimate authority. The handshake symbolizes the tangible covenant between ruler and ruled, while the heart's sincerity represents the spiritual dimension of this contract.
Scholarly Commentary on Allegiance
Classical scholars interpret this hadith as establishing the obligation of honoring one's pledge to the legitimate Imam (leader). The condition "if he can" indicates obedience is required only in matters not involving disobedience to Allah. The hand represents the physical commitment while the heart signifies genuine intention without coercion.
The severe warning against challengers to legitimate authority serves to maintain social order and prevent civil strife (fitnah). Scholars like Imam Nawawi explain this applies when the Imam rules by Islamic law and maintains justice. The command to "cut off the head" is understood metaphorically by some scholars as removing the threat to unity, while others take it literally for armed rebels against established Islamic governance.
Historical Context and Application
This teaching emerged when the Muslim community transitioned from prophetic leadership to caliphal governance. It provided the constitutional basis for political stability while emphasizing the conditional nature of obedience - limited to lawful commands and dependent on the ruler's adherence to Islamic principles.
Traditional commentators like Ibn Hajar al-Asqalani note that this hadith doesn't mandate blind obedience but establishes a reciprocal relationship where the ruler's legitimacy depends on governing according to Quran and Sunnah. The severe punishment for challengers is reserved for those who分裂 the community after establishing unity under legitimate leadership.