[Machine] On the authority of the Messenger of Allah, ﷺ , who said: "When a man purifies himself and then goes to the mosque to observe prayer, a scribe or his own personal scribe records for him ten good deeds for each step he takes towards the mosque. And the one who remains in the mosque observing prayer is in a state equivalent to that of a person who is engaged in the act of bowing or prostrating, and he will continue to be recorded as such from the moment he leaves his house until he returns to it."
عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ قَالَ إِذَا تَطَهَّرَ الرَّجُلُ ثُمَّ أَتَى الْمَسْجِدَ يَرْعَى الصَّلَاةَ كَتَبَ لَهُ كَاتِبَاهُ أَوْ كَاتِبُهُ بِكُلِّ خُطْوَةٍ يَخْطُوهَا إِلَى الْمَسْجِدِ عَشْرَ حَسَنَاتٍ وَالْقَاعِدُ يَرْعَى الصَّلَاةَ كَالْقَانِتِ وَيُكْتَبُ مِنَ الْمُصَلِّينَ مِنْ حِينِ يَخْرُجُ مِنْ بَيْتِهِ حَتَّى يَرْجِعَ إِلَيْهِ