Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:4809a

“Verily, Allah when He created the creation, He wrote with His Hand concerning Himself, that: ‘My mercy prevails over My wrath.’” (Using translation from Tirmidhī 3543)   

السيوطي:٤٨٠٩a

"إِنَّ الله ﷻ حِينَ خلقَ الْخلقَ كتَب بِيَدِهِ عَلَى نَفْسِهِ: إِنَّ رَحْمَتِى تَغْلِبُ غَضَبِى".  

[ت] الترمذي حسن صحيح عن أبي هريرة

See similar narrations below:

Collected by Muslim, Tirmidhī, Ibn Mājah, Aḥmad, Ibn Ḥibbān, Suyūṭī
muslim:2751cʿAlī b. Khashram > Abū Ḍamrah > al-Ḥārith b. ʿAbd al-Raḥman > ʿAṭāʾ b. Mīnāʾ > Abū Hurayrah

When Allah created the creation, He ordained for Himself and this document is with Him: Verily, My mercy predominates Mv wrath.  

مسلم:٢٧٥١cحَدَّثَنَا عَلِيُّ بْنُ خَشْرَمٍ أَخْبَرَنَا أَبُو ضَمْرَةَ عَنِ الْحَارِثِ بْنِ عَبْدِ الرَّحْمَنِ عَنْ عَطَاءِ بْنِ مِينَاءَ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ لَمَّا قَضَى اللَّهُ الْخَلْقَ كَتَبَ فِي كِتَابِهِ عَلَى نَفْسِهِ فَهُوَ مَوْضُوعٌ عِنْدَهُ إِنَّ رَحْمَتِي تَغْلِبُ غَضَبِي  

tirmidhi:3543Qutaybah > al-Layth > Ibn ʿAjlān from his father > Abū Hurayrah

“Verily, Allah when He created the creation, He wrote with His Hand concerning Himself, that: ‘My mercy prevails over My wrath.’”  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Ṣaḥīḥ-Gharīb.
الترمذي:٣٥٤٣حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا اللَّيْثُ عَنِ ابْنِ عَجْلاَنَ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللَّهِ ﷺ قَالَ إِنَّ اللَّهَ حِينَ خَلَقَ الْخَلْقَ كَتَبَ بِيَدِهِ عَلَى نَفْسِهِ إِنَّ رَحْمَتِي تَغْلِبُ غَضَبِي  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ
ibnmajah:4295Muḥammad b. ʿAbdullāh b. Numayr And ʾAbū Bakr b. Abū Shaybah > Abū Khālid al-Aḥmar > Ibn ʿAjlān from his father > Abū Hurayrah

“When Allah created the universe, He decreed for Himself: ‘My mercy prevails over My wrath.’”  

ابن ماجة:٤٢٩٥حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ وَأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ قَالاَ حَدَّثَنَا أَبُو خَالِدٍ الأَحْمَرُ عَنِ ابْنِ عَجْلاَنَ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ اللَّهَ ﷻ لَمَّا خَلَقَ الْخَلْقَ كَتَبَ بِيَدِهِ عَلَى نَفْسِهِ إِنَّ رَحْمَتِي تَغْلِبُ غَضَبِي  

ahmad:9597Yaḥyá > Ibn ʿAjlān from my father > Abū Hurayrah

“When Allah created the universe, He decreed for Himself: ‘My mercy prevails over My wrath.’” (Using translation from Ibn Mājah 4295)   

أحمد:٩٥٩٧حَدَّثَنَا يَحْيَى عَنِ ابْنِ عَجْلَانَ قَالَ سَمِعْتُ أَبِي عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ قَالَ لَمَّا خَلَقَ اللهُ الْخَلْقَ كَتَبَ بِيَدِهِ عَلَى نَفْسِهِ إِنَّ رَحْمَتِي تَغْلِبُ غَضَبِي  

ذِكْرُ الْبَيَانِ بِأَنَّ كِتْبَةَ اللَّهِ الْكِتَابَ الَّذِي ذَكَرْنَاهُ كَتَبَهُ بِيَدِهِ

ibnhibban:6145Ismāʿīl b. Dāwud b. And Rdān Bimiṣr > ʿĪsá b. Ḥammād > al-Layth > Ibn ʿAjlān from his father > Abū Hurayrah

“Verily, Allah when He created the creation, He wrote with His Hand concerning Himself, that: ‘My mercy prevails over My wrath.’” (Using translation from Tirmidhī 3543)   

ابن حبّان:٦١٤٥أَخْبَرَنَا إِسْمَاعِيلُ بْنُ دَاوُدَ بْنِ وَرْدَانَ بِمِصْرَ قَالَ حَدَّثَنَا عِيسَى بْنُ حَمَّادٍ قَالَ أَنْبَأَنَا اللَّيْثُ عَنِ ابْنِ عَجْلَانَ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللَّهِ ﷺ أَنَّهُ قَالَ «حِينَ خَلَقَ اللَّهُ الْخَلْقَ كَتَبَ بِيَدِهِ عَلَى نَفْسِهِ الرَّحْمَةَ أَنَّ رَحْمَتِي غَلَبَتْ غَضَبِي»  

suyuti:4987a

“Verily, Allah when He created the creation, He wrote with His Hand concerning Himself, that: ‘My mercy prevails over My wrath.’” (Using translation from Tirmidhī 3543)   

السيوطي:٤٩٨٧a

"إِنَّ الله تَعَالى لمَّا خَلَقَ الْخَلْقَ كَتَبَ بِيدِه عَلَى نَفْسِهِ: إِنَّ رَحْمَتِى تَغْلِبُ غَضَبِي" .  

[هـ] ابن ماجة عن أَبي هريرة