Hadith
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."
Vol: 009 Book: 093 Hadith: 643