A man reported,

A man said, "Advise me, Messenger of Allah."He said, "Do not become angry."The man said, "I reflected on what the Messenger of Allah ﷺ said, and I realized that anger gathers within it every kind of evil."In another wording, narrated from one of the companions of the Prophet ﷺ, a man said to the Prophet ﷺ, "Tell me a few words by which I may live, and do not make them too many lest I forget them."He said, "Avoid anger."The man repeated his request, and he said again, "Avoid anger."

Azami 14999

Sahih

عن رجل من أصحاب رسول الله ﷺ قال

قال رجل: أوصني يا رسول الله، قال: لا تغضب، قال الرجل: ففكرت حين قال رسول الله ﷺ ما قال، فإذا الغضب يجمع الشر كله. وفي لفظ: عن رجل من أصحاب النبي ﷺ أن رجلا قال للنبي ﷺ: أخبرني بكلمات أعيش بهن ولا تكثر علي فأنسى قال: اجتنب الغضب ثم أعاد عليه، فقال: اجتنب الغضب.

الأعظمي 14999صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Vices of character
Section
Caution against anger
Numbering
Jami al-Kamil 14999 (2nd edition)
Azami 14999