It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "The example of my Ummah is like a river in which one bathes five times every day; how much dirt could then remain on his (the bather's) body! (Likewise, when a servant) stands for ablution and washes his hands, every sin that his hands committed by touching falls away; then he rinses his mouth, and every sin that his tongue spoke falls away; then he washes his face, and every sin towards which his eyes looked falls away; then he wipes his head, and every sin that his ears heard falls away; then he washes his feet, and every sin towards which his feet walked falls away."
Imam Musaddad (may Allah have mercy on him) recorded it through the route of Attaf bin Khalid, who narrated it from Isma'il bin Rafi', from Sayyiduna Anas bin Malik (may Allah be pleased with him), as marfu' (attributed to the Prophet), and in it the hadith is given at great length.
Its wording will come in the Book of Hajj, in the chapter on circumambulating the House, and Imam al-Bazzar recorded it in abridged form.