Hadith # 665
Ibn 'Umar (May Allah be pleased with them) reported: Messenger of Allah (PBUH) said, "One who withdraws his hand from obedience (to the Amir) will find no argument (in his defense) when he stands before Allah on the Day of Resurrection; and one who dies without having sworn allegiance will die the death of one belonging to the Days of Ignorance."
[Muslim]
Commentary
Another narration is: The Messenger of Allah (PBUH) said, "He who dies having defected from obedience (to the Amir) and discards his association with the main body of the (Muslim) community, dies the death of one belonging to the Days of Jahiliyyah." Commentary: The Hadith makes it clear that it is binding upon Muslims to show obedience to the just Muslim ruler and to join forces with the Muslim Community to give allegiance to him as long as he does not call to a sin.
Top