Anas ibn Malik reported: The elders among the Companions of the Messenger of Allah, peace and blessings be upon him, prohibited us, saying, “Do not curse your leaders, do not deceive them, and do not hate them. Fear Allah and be patient, for the matter is close at hand.”
Source: al-Sunnah li-Ibn Abī ‘Āṣim 1015
Grade: Jayyid (very good) according to Al-Albani
Imam al-Barbahari commented, “If you see a man supplicating against the ruler, then know he is a follower of his whims. If you hear a man supplicating for the ruler’s improvement, then know he is a follower of the Sunnah, if Allah wills.”
Source: Sharḥ al-Sunnah lil-Barbahārī 1/113
عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ نَهَانَا كُبَرَاؤُنَا مِنْ أَصْحَابِ رَسُولِ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ لَا تَسُبُّوا أُمَرَاءَكُمْ وَلَا تَغِشُّوهُمْ وَلَا تَبْغَضُوهُمْ وَاتَّقُوا اللَّهَ وَاصْبِرُوا فَإِنَّ الْأَمْرَ قَرِيبٌ
1015 السنة لابن أبي عاصم
1/488 المحدث الألباني خلاصة حكم المحدث إسناده جيد في تخريج كتاب السنة
قال الامام البربهاري وإِذَا رَأَيْتَ الرَّجُلَ يَدْعُو عَلَى السُّلْطَانِ فاعْلَمْ أَنَّه صَاحِبُ هَوىً وإِذَا سَمِعْتَ الرَّجُلَ يَدْعُو للسُّلْطَانِ بالصَّلَاحِ فاعْلَمْ أَنَّه صَاحِبُ سُنَّةٍ إِنْ شَاءَ اللهُ
1/113 شرح السنة للبربهاري