حَدَّثَنَا الْعَبَّاسُ بْنُ الْفَضْلِ الْأَسْفَاطِيُّ، ثنا أَبُو ثَابِتٍ مُحَمَّدُ بْنُ عُبَيْدِ اللهِ الْمَدِينِيُّ، ثنا عَبْدُ الْعَزِيزِ بْنُ مُحَمَّدٍ، عَنْ كَثِيرِ بْنِ زَيْدٍ، عَنْ أَبِي عَبْدِ اللهِ الْقَرَّاطِ، عَنِ ابْنِ عُمَرَ أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا تَوَضَّأَ أَحَدُكُمْ فَأَحْسَنَ وُضُوءَهُ، ثُمَّ خَرَجَ إِلَى الْمَسْجِدِ لَا يَنْزِعُهُ إِلَّا الصَّلَاةُ، لَمْ تَزَلْ رِجْلُهُ الْيُسْرَى تَمْحُو سَيِّئَةً، وَتَكْتُبُ الْأُخْرَى حَسَنَةً حَتَّى يَدْخُلَ الْمَسْجِدَ»
It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "When one of you performs ablution (wudu) and performs it well, then goes out to the mosque with no intention other than the prayer, his left foot keeps erasing a sin and the right foot keeps recording a good deed until he enters the mosque."