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."
Hadith Referenceمسند أبي يعلى الموصلي / مسند عقبة بن عامر الجهني / 1747
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده ضعيف . » «قال سعيد بن محمد السناري: صحيح» «أخرجه مسند أحمد برقم: 17005، وأخرجه شرح السنة برقم: 474، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 985/1، مسند ابویعلیٰ ترقیم الاثری: 1741»