The Book Giving Description of the Day of Judgement, Paradise and Hell (Kitab Sifat Al-Qiyamah wa'l Janna wa'n-Nar)
Muslim :: Book 39 : Hadith 6760
Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: None amongst you would attain salvation purely because of his deeds. A person said: Allah's Messenger, even you also. Thereupon he said: Yes. Not even I, but that Allah wraps me in Mercy, but you should act with moderation. This badith has been transmitted on the authority of Bukair b. al-Ashajj with a slight variation of wording.