It is narrated from Sayyiduna Uthman (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Tell me, if there were a river flowing in the courtyard of one of you in which he bathed five times every day, would any of his dirt remain?" The Companions said: "Nothing at all." He (peace and blessings be upon him) said: "Then indeed the prayers remove sins in the same way as water removes dirt."
Imam Ahmad (may Allah have mercy on him) narrated it in his "Musnad" from Ya'qub bin Ibrahim, and likewise Abd bin Humayd (may Allah have mercy on him) narrated it from him in his "Musnad".
Abu Abdullah Ibn Majah (may Allah have mercy on him) also narrated it from Abdullah bin Abi Ziyad, from Ya'qub bin Ibrahim bin Sa'd.
This hadith has a supporting narration (shahid) in the "Sahih" from the hadith of Sayyiduna Abu Hurayrah (may Allah be pleased with him).