It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that he said: I asked the Messenger of Allah (peace and blessings be upon him), saying: "O Messenger of Allah (peace and blessings be upon him), what is it that can protect me from the anger of Allah?" He (peace and blessings be upon him) said: "Do not become angry." Imam Ahmad bin Hanbal recorded this report with the words: "What can keep me far from the anger of Allah?" And Imam Ibn Hibban also narrated it in the same way in his Sahih.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الأدب وغيره / 5323