Messenger of Allah ﷺ said, "When Allah completed the creation, He wrote in His Book which is with Him on His Throne, "My Mercy overpowers My Anger." (Using translation from Bukhārī 3194)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «لَمَّا قَضَى اللهُ الْخَلْقَ كَتَبَ فِي كِتَابِهِ وَهُوَ عِنْدَهُ فَوْقَ الْعَرْشِ إِنَّ رَحْمَتِي سَبَقَتْ غَضَبِي»