Sahih Muslim
The Book Giving Description of the Day of Judgement, Paradise and Hell (Kitab Sifat Al-Qiyamah wal Janna wan-Nar)
Book Number: 039 / Hadith Number: 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.