Abu Huraira reported: A man came to the Prophet صلى الله عليه وسلم and said, “Advise me.” He said, “Do not get angry.” The man repeated his request twice, and the Prophet said, “Do not get angry.”
[Sahih Bukhari, Volume 8, Book 73, Number 137]
Book of Manners, Chapter: I know a word he could say to calm him down
عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ أَنَّ رَجُلًا قَالَ لِلنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَوْصِنِي قَالَ لَا تَغْضَبْ فَرَدَّدَ مِرَارًا قَالَ لَا تَغْضَبْ
صحيح البخاري – كِتَاب الْأَدَبِ – إني لأعلم كلمة لو قالها لذهب عنه ما يجد