Sahih Muslim 668
Sahih Muslim · Book 5: The Book of Mosques and Places of Prayer · Walking to prayer erases sins and raises one in status
Jabir b. 'Abdullah reported that the Messenger of Allah (ﷺ) said:
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ، وَأَبُو كُرَيْبٍ قَالاَ حَدَّثَنَا أَبُو مُعَاوِيَةَ ، عَنِ الأَعْمَشِ ، عَنْ أَبِي سُفْيَانَ ، عَنْ جَابِرٍ، - وَهُوَ ابْنُ عَبْدِ اللَّهِ - قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَثَلُ الصَّلَوَاتِ الْخَمْسِ كَمَثَلِ نَهَرٍ جَارٍ غَمْرٍ عَلَى بَابِ أَحَدِكُمْ يَغْتَسِلُ مِنْهُ كُلَّ يَوْمٍ خَمْسَ مَرَّاتٍ " . قَالَ قَالَ الْحَسَنُ وَمَا يُبْقِي ذَلِكَ مِنَ الدَّرَنِ
The similitude of five prayers is like an overflowing river passing by the gate of one of you in which he washes five times daily Hasan said: No filthiness can remain on him.