Narrated Abu Huraira:Allah's Messenger (ﷺ) said, "When Allah created the creations, He wrote with Him on His Throne: 'My Mercy has preceded My Anger
Hadith No. 7453
Sahih al Bukhari