Sayyiduna Jabir bin Atik رضي الله عنه narrates this statement of the Noble Prophet صلى الله عليه وسلم: There is a type of anger which Allah Almighty dislikes, and there is a type of anger which Allah Almighty likes. There is a type of pride whose expression Allah Almighty likes, and there is a type which Allah Almighty dislikes. The anger which Allah Almighty likes is anger in religious matters. The anger which Allah Almighty dislikes is anger in matters other than religion. And the pride which Allah Almighty likes is this: a person shows pride at the time of battle and shows pride when giving charity. And the pride which Allah Almighty dislikes is pride regarding falsehood.
Hadith Referenceصحیح ابن حبان / كتاب السير / 4762
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيحسن - «صحيح أبي داود» (2388)، «الإرواء»، وقد تقدم نحوه برقم (295).فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث حسن لغيره