The Messenger of Allah (peace be upon him) said : "When Allah decreed the Creation He pledged Himself by writing in His book which is laid down with Him : My mercy prevails over my wrath."

Reporters.
It was related by Muslim (also by al-Bukhari, an-Nasa'i and Ibn Majah).