I heard Allah's Messenger (ﷺ) saying: "Before Allah created the creations, He wrote a Book…

Sahih al-Bukhari Book 97 Hadith 179

Sahih al-Bukhari #7554

Oneness, Uniqueness of Allah (Tawheed) 97:179

Narrated Abu Hurairah (ra):

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 is written with Him over the Throne." (see Hadith 3194)

Chapter: “Nay! This is a Glorious Qur'an, in Al-Lauh Al-Mahfuz.

Grade: Sahih