[Machine] The Messenger of Allah ﷺ said, "Whoever purifies himself in his house and then walks to one of the houses of Allah, and performs one of the obligatory acts of Allah, his steps will erase one sin and raise him one rank. The narration of Al-Hafiz and Al-Qadi states that he performs one of the obligatory acts of Allah, his steps will erase one sin and raise him one rank."
قَالَ رَسُولُ اللهِ ﷺ مَنْ تَطَهَّرَ فِي بَيْتِهِ ثُمَّ مَشَى إِلَى بَيْتٍ مِنْ بُيُوتِ اللهِ تَعَالَى فَيَقْضِي فَرِيضَةً مِنْ فَرَائِضِ اللهِ كَانَتْ خُطُوَاتُهُ إِحْدَاهُمَا تَحُطُّ خَطِيئَةً وَالْأُخْرَى تَرْفَعُ دَرَجَةً لَفْظُ حَدِيثِ الْحَافِظِ وَالْقَاضِي وَفِي رِوَايَةِ الْمِصْرِيِّ يُؤَدِّي فَرِيضَةً مِنْ فَرَائِضِ اللهِ كَانَتْ خَطْوَتَاهُ إِحْدَاهُمَا تَحُطُّ عَنْهُ خَطِيئَةً وَالْأُخْرَى تَرْفَعُ لَهُ بِهَا دَرَجَةً