Abu Hurairah reported,

The Messenger of Allah ﷺ said, "The leader is but a shield, behind whom people fight and through whom they are protected. If he commands the fear of Allah and acts with justice, he will have reward for that. But if he commands otherwise, he will bear the burden of sin for it."

Nasai 4201

Sahih

أخبرنا عمران بن بكار قال حدثنا علي بن عياش قال حدثنا شعيب قال حدثني أبو الزناد مما حدثه عبد الرحمن الأعرج مما ذكر أنه سمع

أبا هريرة يحدث

عن رسول الله ﷺ قال إنما الإمام جنة يقاتل من ورائه ويتقى به فإن أمر بتقوى الله وعدل فإن له بذلك أجرا وإن أمر بغيره فإن عليه وزرا

النسائي 4201صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Pledge of allegiance
Chapter
What is due to the imam and what is obligatory upon him
Numbering
Darussalam 4201
Nasai 4201