Sahih Muslim 232a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ تَوَضَّأَ هَكَذَا ثُمَّ خَرَجَ إِلَى الْمَسْجِدِ لاَ يَنْهَزُهُ إِلاَّ الصَّلاَةُ غُفِرَ لَهُ مَا خَلاَ مِنْ ذَنْبِهِ "
Humran, the freed slave of Uthman reported:
One day Uthman b. Affan performed the ablution well, and then said: I saw Allah's Messenger (ﷺ) perform ablution, the best ablution, and then observed: He who performed ablution like this and then went towards the mosque and nothing (but the love of) prayer urged him (to do so), all his previous (minor) sins would be expiated.
Full reference and source
Sahih Muslim 232a In-book : Book 2, Hadith 15 USC-MSA web (English) : Book 2, Hadith 446 (deprecated)
View source on Sunnah.com (opens in a new tab)