Hadith on Baya’: Companions pledge allegiance to the Prophet

‘Ubadah ibn al-Samit reported: We pledged allegiance to the Messenger of Allah, peace and blessings be upon him, to listen and obey in hardship and in ease, in pleasure and displeasure, even if someone is wrongly favored over us, not to dispute the rule of those in authority, that we should speak the truth wherever we are and not fear those who blame us regarding Allah.

Source: Ṣaḥīḥ Muslim 1709

Grade: Sahih (authentic) according to Muslim

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

1709 صحيح مسلم كتاب الإمارة باب وجوب طاعة الأمراء في غير معصية وتحريمها في المعصية