Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1709hAḥmad b. ʿAbd al-Raḥman b. Wahbb. Muslim > ʿAmmī ʿAbdullāh b. Wahb > ʿAmr b. al-Ḥārith > Bukayr > Busr b. Saʿīd > Junādah b. Abū Umayyah > Dakhalnā > ʿUbādah b. al-Ṣāmit Wahū Marīḍ Faqulnā

We called upon 'Ubada b. Samit who was ill and said to him: May God give you health I Narrate to us a tradition which God may prove beneficial (to us) and which you have heard from the Messenger of Allah ﷺ. He said: The Messenger of Allah ﷺ called us and we took the oath of allegiance to him. Among the injunctions he made binding upon us was: Listening and obedience (to the Amir) in our pleasure and displeasure, in our adversity and prosperity, even when somebody is given preference over us, and without disputing the delegation of powers to a man duly invested with them (Obedience shall be accorded to him in all circumstances) except when you have clear signs of his disbelief in (or disobedience to) God-signs that could be used as a conscientious justification (for non-compliance with his orders).  

مسلم:١٧٠٩hحَدَّثَنَا أَحْمَدُ بْنُ عَبْدِ الرَّحْمَنِ بْنِ وَهْبِ بْنِ مُسْلِمٍ حَدَّثَنَا عَمِّي عَبْدُ اللَّهِ بْنُ وَهْبٍ حَدَّثَنَا عَمْرُو بْنُ الْحَارِثِ حَدَّثَنِي بُكَيْرٌ عَنْ بُسْرِ بْنِ سَعِيدٍ عَنْ جُنَادَةَ بْنِ أَبِي أُمَيَّةَ قَالَ دَخَلْنَا عَلَى عُبَادَةَ بْنِ الصَّامِتِ وَهُوَ مَرِيضٌ فَقُلْنَا

حَدِّثْنَا أَصْلَحَكَ اللَّهُ بِحَدِيثٍ يَنْفَعُ اللَّهُ بِهِ سَمِعْتَهُ مِنْ رَسُولِ اللَّهِ ﷺ فَقَالَ دَعَانَا رَسُولُ اللَّهِ ﷺ فَبَايَعْنَاهُ فَكَانَ فِيمَا أَخَذَ عَلَيْنَا أَنْ بَايَعَنَا عَلَى السَّمْعِ وَالطَّاعَةِ فِي مَنْشَطِنَا وَمَكْرَهِنَا وَعُسْرِنَا وَيُسْرِنَا وَأَثَرَةٍ عَلَيْنَا وَأَنْ لاَ نُنَازِعَ الأَمْرَ أَهْلَهُ قَالَ إِلاَّ أَنْ تَرَوْا كُفْرًا بَوَاحًا عِنْدَكُمْ مِنَ اللَّهِ فِيهِ بُرْهَانٌ  


See similar narrations below:

Collected by Bukhārī, Bayhaqī
bukhari:7055Ismāʿīl > Ibn Wahb > ʿAmr > Bukayr > Busr b. Saʿīd > Junādah b. Abū Umayyah

We entered upon 'Ubada bin As-Samit while he was sick. We said, "May Allah make you healthy. Will you tell us a Hadith you heard from the Prophet ﷺ and by which Allah may make you benefit?" He said, "The Prophet ﷺ called us and we gave him the Pledge of allegiance for Islam, and among the conditions on which he took the Pledge from us, was that we were to listen and obey (the orders) both at the time when we were active and at the time when we were tired, and at our difficult time and at our ease and to be obedient to the ruler and give him his right even if he did not give us our right, and not to fight against him unless we noticed him having open Kufr (disbelief) for which we would have a proof with us from Allah."  

البخاري:٧٠٥٥حَدَّثَنَا إِسْمَاعِيلُ حَدَّثَنِي ابْنُ وَهْبٍ عَنْ عَمْرٍو عَنْ بُكَيْرٍ عَنْ بُسْرِ بْنِ سَعِيدٍ عَنْ جُنَادَةَ بْنِ أَبِي أُمَيَّةَ قَالَ

دَخَلْنَا عَلَى عُبَادَةَ بْنِ الصَّامِتِ وَهْوَ مَرِيضٌ قُلْنَا أَصْلَحَكَ اللَّهُ حَدِّثْ بِحَدِيثٍ يَنْفَعُكَ اللَّهُ بِهِ سَمِعْتَهُ مِنَ النَّبِيِّ ﷺ قَالَ دَعَانَا النَّبِيُّ ﷺ فَبَايَعْنَاهُ فَقَالَ فِيمَا أَخَذَ عَلَيْنَا أَنْ بَايَعَنَا عَلَى السَّمْعِ وَالطَّاعَةِ فِي مَنْشَطِنَا وَمَكْرَهِنَا وَعُسْرِنَا وَيُسْرِنَا وَأَثَرَةٍ عَلَيْنَا وَأَنْ لاَ نُنَازِعَ الأَمْرَ أَهْلَهُ إِلاَّ أَنْ تَرَوْا كُفْرًا بَوَاحًا عِنْدَكُمْ مِنَ اللَّهِ فِيهِ بُرْهَانٌ  

bayhaqi:16553Abū Ṭāhir al-Faqīh > Abū Bakr Muḥammad b. Ibrāhīm b. al-Faḍl al-Faḥḥām > Muḥammad b. Yaḥyá > Nuʿaym b. Ḥammād > Ibn Wahb > ʿAmr b. al-Ḥārith > Bukayr > Busr b. Saʿīd > Junādah b. Abū Umayyah > ʿUbādah b. al-Ṣāmit

We called upon 'Ubada b. Samit who was ill and said to him: May God give you health I Narrate to us a tradition which God may prove beneficial (to us) and which you have heard from the Messenger of Allah ﷺ. He said: The Messenger of Allah ﷺ called us and we took the oath of allegiance to him. Among the injunctions he made binding upon us was: Listening and obedience (to the Amir) in our pleasure and displeasure, in our adversity and prosperity, even when somebody is given preference over us, and without disputing the delegation of powers to a man duly invested with them (Obedience shall be accorded to him in all circumstances) except when you have clear signs of his disbelief in (or disobedience to) God-signs that could be used as a conscientious justification (for non-compliance with his orders). (Using translation from Muslim 1709h)   

البيهقي:١٦٥٥٣أَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ أَنْبَأَ أَبُو بَكْرٍ مُحَمَّدُ بْنُ إِبْرَاهِيمَ بْنِ الْفَضْلِ الْفَحَّامُ ثَنَا مُحَمَّدُ بْنُ يَحْيَى ثَنَا نُعَيْمُ بْنُ حَمَّادٍ ثَنَا ابْنُ وَهْبٍ عَنْ عَمْرِو بْنِ الْحَارِثِ حَدَّثَنِي بُكَيْرٌ عَنْ بُسْرِ بْنِ سَعِيدٍ عَنْ جُنَادَةَ بْنِ أَبِي أُمَيَّةَ عَنْ عُبَادَةَ بْنِ الصَّامِتِ قَالَ

دَعَانَا رَسُولُ اللهِ ﷺ فَبَايَعْنَا وَأَخَذَ عَلَيْنَا السَّمْعَ وَالطَّاعَةَ فِي مَنْشَطِنَا وَمَكْرَهِنَا وَعُسْرِنَا وَيُسْرِنَا وَأَثَرَةً عَلَيْنَا وَأَنْ لَا نُنَازِعَ الْأَمْرَ أَهْلَهُ قَالَ إِلَّا أَنْ تَرَوْا كُفْرًا بَوَاحًا عِنْدَكُمْ مِنَ اللهِ فِيهِ بُرْهَانٌ أَخْرَجَاهُ فِي الصَّحِيحِ مِنْ حَدِيثِ ابْنِ وَهْبٍ