Abu Hurairah reported,

The Prophet ﷺ said, "The leader is but a shield, behind whom people fight and by whom they are protected. If he commands the fear of Allah عز وجل and acts justly, he will be rewarded for that. But if he commands otherwise, he will bear the burden of it."

Azami 7613

Sahih

عن أبي هريرة

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

الأعظمي 7613صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Leadership
Section
Imam is a shield behind whom one fights and is protected
Numbering
Jami al-Kamil 7613 (2nd edition)
Azami 7613