Sahih Muslim, Book 50, Hadith 6 (Muslim 6878)

'Abdullah reported Allah's Messenger (ﷺ) as saying:

Allah is more pleased with the repentance of a believing man. The rest of the hadith is the same.