Hadith on Rulers: The Prophet orders patience with unjust rulers

Abdullah ibn Mas’ud reported: The Messenger of Allah, peace and blessings be upon him, said, “Verily, after me there will be favoritism and matters you will reject.” They said, “O Messenger of Allah, what do you order us to do if we live during that?” The Prophet said, “Fulfill the duties placed over you and ask Allah for your rights.”

Source: Ṣaḥīḥ al-Bukhārī 3408, Ṣaḥīḥ Muslim 1843

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ عَبْدِ اللَّهِ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّهَا سَتَكُونُ بَعْدِي أَثَرَةٌ وَأُمُورٌ تُنْكِرُونَهَا قَالُوا يَا رَسُولَ اللَّهِ كَيْفَ تَأْمُرُ مَنْ أَدْرَكَ مِنَّا ذَلِكَ قَالَ تُؤَدُّونَ الْحَقَّ الَّذِي عَلَيْكُمْ وَتَسْأَلُونَ اللَّهَ الَّذِي لَكُمْ

3408 صحيح البخاري كتاب المناقب باب علامات النبوة في الإسلام

1843 صحيح مسلم كتاب الإمارة باب وجوب الوفاء ببيعة الخلفاء الأول فالأول