Sahih Bukhari · Hadith 7648
Oneness; Uniqueness of Allah (Tawheed) - كتاب التوحيد
وقال لي خليفة بن خياط حدثنا معتمر، سمعت أبي، عن قتادة، عن أبي رافع، عن أبي هريرة، عن النبي صلى الله عليه وسلم قال " لما قضى الله الخلق كتب كتابا عنده غلبت أو قال سبقت رحمتي غضبي. فهو عنده فوق العرش ".
Narrated Abu Huraira: I heard Allah's Apostle 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."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).