أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ الْحَافِظُ ، حَدَّثَنَا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ، حَدَّثَنَا الرَّبِيعُ بْنُ سُلَيْمَانَ ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ ، أَخْبَرَنِي عَمْرُو بْنُ الْحَارِثِ ، عَنْ أَبِي عُشَّانَةَ أَنَّهُ سَمِعَ عُقْبَةَ بْنَ عَامِرٍ الْجُهَنِيَّ يُحَدِّثُ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ قَالَ : " إِذَا تَطَهَّرَ الرَّجُلُ ثُمَّ مَرَّ إِلَى الْمَسْجِدِ يَرْعَى الصَّلَاةَ كَتَبَ لَهُ كَاتِبُهُ أَوْ كَاتِبَاهُ بِكُلِّ خُطْوَةٍ يَخْطُوهَا إِلَى الْمَسْجِدِ عَشْرَ حَسَنَاتٍ ، وَالْقَاعِدُ يَرْعَى الصَّلَاةَ كَالْقَانِتِ ، وَيَكْتُبُ مِنَ الْمُصَلِّينَ مِنْ حِينِ يَخْرُجُ مِنْ بَيْتِهِ حَتَّى يَرْجِعَ " .
Sayyiduna Uqbah bin Amir al-Juhani (may Allah be pleased with him) narrates from the Messenger of Allah (peace and blessings be upon him) that he (peace and blessings be upon him) said: "When a man purifies himself (performs ablution) and then walks towards the mosque, keeping watch for the prayer, his recorder of deeds (or he said: his two recorders) write for him ten good deeds for every step he takes towards the mosque. And the one who sits waiting for the prayer is like one engaged in prayer (the one standing in devotion), and from the time he leaves his house until he returns, he is recorded among those who pray."