حَدَّثَنَا أَبُو عَبْدِ اللهِ الدَّوْرَقِيُّ ، حَدَّثَنَا أَبُو عَبْدِ الرَّحْمَنِ ، حَدَّثَنَا ابْنُ لَهِيعَةَ ، قَالَ : حَدَّثَنِي أَبُو قَبِيلٍ الْمَعَافِرِيُّ ، عَنْ أَبِي عُشَّانَةَ الْمَعَافِرِيِّ ، عَنْ عُقْبَةَ بْنِ عَامِرٍ الْجُهَنِيِّ عَنِ النَّبِيِّ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - ، قَالَ : مَنْ خَرَجَ مِنْ بَيْتِهِ إِلَى الْمَسْجِدِ كُتِبَتْ لَهُ بِكُلِّ خُطْوَةٍ يَخْطُوهَا عَشْرَ حَسَنَاتٍ ، وَالْقَاعِدُ فِي الْمَسْجِدِ يَنْتَظِرُ الصَّلَاةَ كَالْقَانِتِ ، وَيُكْتَبُ مِنَ الْمُصَلِّينَ حَتَّى يَرْجِعَ إِلَى بَيْتِهِ .
It is narrated from Sayyiduna Uqbah bin Amir al-Juhani (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Whoever goes out from his house to the mosque, for every step he takes ten good deeds are written for him; and the one who sits in the mosque waiting for the prayer is like one who stands in prayer before Allah in humility and devotion; and he is counted among those praying until he returns to his house."