Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:438bʿAbdullāh b. ʿAbd al-Raḥman al-Dārimī > Muḥammad b. ʿAbdullāh al-Raqāshī > Bishr b. Manṣūr > al-Jurayrī > Abū Naḍrah > Abū Saʿīd al-Khudrī

The Messenger of Allah ﷺ saw people at the end of the mosque, and then the (above-mentioned hadith) was narrated.  

مسلم:٤٣٨bحَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَبْدِ الرَّحْمَنِ الدَّارِمِيُّ حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ الرَّقَاشِيُّ حَدَّثَنَا بِشْرُ بْنُ مَنْصُورٍ عَنِ الْجُرَيْرِيِّ عَنْ أَبِي نَضْرَةَ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ

رَأَى رَسُولُ اللَّهِ ﷺ قَوْمًا فِي مُؤَخَّرِ الْمَسْجِدِ فَذَكَرَ مِثْلَهُ