Yahya bin Maymun (may Allah have mercy on him) said: Sayyiduna Sahl bin Sa'd al-Sa'idi (may Allah be pleased with him) passed by me while I was sitting in the mosque, and he said: "Shall I not narrate to you a hadith that I heard from the Messenger of Allah (peace and blessings be upon him)?" I said: "Of course!" He said: "I heard the Messenger of Allah (peace and blessings be upon him) saying: 'Whoever is in the mosque waiting for the prayer is (in ruling and reward) in prayer.'"
Hadith Referenceالمعجم الأوسط / باب الباء / 3194
Hadith Takhrij«أخرجه ابن حبان فى «صحيحه» برقم: 1751، 1752، والنسائي فى «المجتبى» برقم: 733 / 2، والنسائي فى «السنن الكبرى» برقم: 815، وأحمد فى «مسنده» برقم: 23275، وأبو يعلى فى «مسنده» برقم: 7546، 7550، وعبد بن حميد فى «مسنده» برقم: 465، وابن أبي شيبة فى «مصنفه» برقم: 4091، والطبراني فى «الكبير» برقم: 6011، 6012»