أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ الْحَافِظُ ، حَدَّثَنَا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ، حَدَّثَنَا الْعَبَّاسُ بْنُ مُحَمَّدٍ الدُّورِيُّ ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ ، حَدَّثَنَا ابْنُ أَبِي ذِئْبٍ ، عَنِ الْأَسْوَدِ بْنِ الْعَلَاءِ الثَّقَفِيِّ ، عَنْ أَبِي سَلَمَةَ ، عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ : " مِنْ حِينِ يَخْرُجُ أَحَدُكُمْ مِنْ بَيْتِهِ إِلَى مَسْجِدِي ، فَرِجْلٌ تَكْتُبُ حَسَنَةً وَأُخْرَى تَمْحُو سَيِّئَةً " .
وَرَوَاهُ أَبُو عَلِيٍّ الْحَنَفِيُّ ، عَنِ ابْنِ أَبِي ذِئْبٍ وَقَالَ فِي رِوَايَتِهِ : مِنْ مَنْزِلِهِ إِلَى مَسْجِدِهِ .
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When one of you goes out from his house to my mosque, one foot (of his) writes a good deed and the other foot erases a sin."
And Abu Ali al-Hanafi (may Allah have mercy on him) narrated it from Ibn Abi Dhi'b (may Allah have mercy on him), and said in his narration: "from his home to his mosque."