Abdullah ibn Amr reported: He asked the Messenger of Allah, peace and blessings be upon him, “What will distance me from the anger of Allah?” The Prophet said, “Do not get angry.”
Source: Musnad Aḥmad 6597
Grade: Sahih (authentic) according to Ahmad Shakir
عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو أَنَّهُ سَأَلَ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَاذَا يُبَاعِدُنِي مِنْ غَضَبِ اللَّهِ عَزَّ وَجَلَّ قَالَ لَا تَغْضَبْ
6597 مسند أحمد
10/124 المحدث أحمد شاكر خلاصة حكم المحدث إسناده صحيح في مسند أحمد