Sahih Bukhari Volume 9, Book 93, Hadith Number 501.
Narrated By Abu Huraira : The Prophet said, “When Allah created the Creation, He wrote in His Book… and He wrote (that) about Himself, and it is placed with Him on the Throne… ‘Verily My Mercy overcomes My Anger.'”