Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “Verily, the leader is only a shield behind whom they fight and he protects them. If he commands the fear of Allah the Exalted and justice, then he will have a reward. If he commands something else, then it will be against him.”
Source: Ṣaḥīḥ Muslim 1841
Grade: Sahih (authentic) according to Muslim
عَنْ أَبِي هُرَيْرَةَ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ إِنَّمَا الْإِمَامُ جُنَّةٌ يُقَاتَلُ مِنْ وَرَائِهِ وَيُتَّقَى بِهِ فَإِنْ أَمَرَ بِتَقْوَى اللَّهِ عَزَّ وَجَلَّ وَعَدَلَ كَانَ لَهُ بِذَلِكَ أَجْرٌ وَإِنْ يَأْمُرْ بِغَيْرِهِ كَانَ عَلَيْهِ مِنْهُ
1841 صحيح مسلم كتاب الإمارة باب الإمام جنة يقاتل من ورائه ويتقى به