Awf bin Malik reported,

I heard the Messenger of Allah ﷺ say, "The best of your leaders are those whom you love and who love you, upon whom you invoke blessings and who invoke blessings upon you. The worst of your leaders are those whom you hate and who hate you, whom you curse and who curse you."We asked, "Messenger of Allah, should we not then confront them with the sword?"He replied, "No, not as long as they establish the prayer among you. If anyone is governed by a ruler and sees him committing some act of disobedience to Allah, let him hate what he does of disobedience to Allah, but let him not withdraw his hand from obedience."

Ahmad 23981

Sahih

حدثنا علي بن إسحاق قال أنبأنا عبد الله قال أخبرني عبد الرحمن بن يزيد بن جابر قال حدثني زريق مولى بني فزارة عن مسلم بن قرظة وكان ابن عم عوف بن مالك قال سمعت

عوف بن مالك يقول

سمعت رسول الله ﷺ يقول خيار أئمتكم من تحبونهم ويحبونكم وتصلون عليهم ويصلون عليكم وشرار أئمتكم الذين تبغضونهم ويبغضونكم وتلعنونهم ويلعنونكم قلنا يا رسول الله أفلا ننابذهم عند ذلك قال لا ما أقاموا لكم الصلاة ألا ومن ولي عليه أمير وال فرآه يأتي شيئا من معصية الله فلينكر ما يأتي من معصية الله ولا ينزعن يدا من طاعة

أحمد 23981صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Awf bin Malik Ashjai Ansari
Numbering
Darussalam 23981
Ahmad 23981