Sahih al-Bukhari
Oneness, Uniqueness of Allah (Tawheed) — Hadith #7553
لَمَّا قَضَى اللَّهُ الْخَلْقَ كَتَبَ كِتَابًا عِنْدَهُ غَلَبَتْ ـ أَوْ قَالَ سَبَقَتْ ـ رَحْمَتِي غَضَبِي. فَهْوَ عِنْدَهُ فَوْقَ الْعَرْشِ "
The chain (isnad) appears to be missing from this record. Under review.
I heard Allah’s Messenger (ﷺ) saying, “Before Allah created the creations, He wrote a Book (wherein He has written): My Mercy has preceded my Anger.” and that (Book) is written with Him over the Throne.”
لَمَّا قَضَى اللَّهُ الْخَلْقَ كَتَبَ كِتَابًا عِنْدَهُ غَلَبَتْ ـ أَوْ قَالَ سَبَقَتْ ـ رَحْمَتِي غَضَبِي. فَهْوَ عِنْدَهُ فَوْقَ الْعَرْشِ ”