حَدَّثَنَا هَارُونُ بْنُ مَعْرُوفٍ ، حَدَّثَنَا ابْنُ وَهْبٍ قَالَ : وَحَدَّثَنِي عَيَّاشُ بْنُ عُقْبَةَ الْحَضْرَمِيُّ أَنَّ يَحْيَى بْنَ مَيْمُونٍ الْحَضْرَمِيَّ حَدَّثَهُ قَالَ : مَرَّ بِي سَهْلُ بْنُ سَعْدٍ الْأَنْصَارِيُّ ، وَأَنَا جَالِسٌ فِي الْمَسْجِدِ إِلَى الْمَقْصُورَةِ ، فَقَالَ لِي : أَلَا أُخْبِرُكَ مَا سَمِعْتُ مِنْ رَسُولِ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - ؟ فَقُلْتُ لِرَجُلٍ إِلَى جَنْبِي لَيْسَ بَيْنَهُ وَبَيْنَ رَسُولِ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - إِلَّا هَذَا : بَلَى ، أَصْلَحَكَ اللهُ فَأَخْبِرْنِي ، فَقَالَ : سَمِعْتُ رَسُولَ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - يَقُولُ : مَنْ كَانَ فِي الْمَسْجِدِ يَنْتَظِرُ صَلَاةً ، فَهُوَ فِي صَلَاةٍ مَا كَانَتِ الصَّلَاةُ تَحْبِسُهُ .
Yahya bin Maymun al-Hadrami (may Allah have mercy on him) states: Sayyiduna Sahl bin Sa'd al-Ansari (may Allah be pleased with him) passed by me while I was sitting in the mosque near the maqsurah. He said to me: "Shall I not tell you something I heard from the Messenger of Allah (peace and blessings be upon him)?" Beside me sat a man between whom and the Messenger of Allah (peace and blessings be upon him) there was no intermediary except this one (Sahl bin Sa'd (may Allah be pleased with him)). I said: "Certainly, may Allah set your affairs right; please do tell me." He said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever is in the mosque waiting for the prayer is in the state of prayer, as long as waiting for the prayer keeps him there."