The Messenger of Allah ﷺ saw people at the end of the mosque, and then the (above-mentioned hadith) was narrated.
رَأَى رَسُولُ اللَّهِ ﷺ قَوْمًا فِي مُؤَخَّرِ الْمَسْجِدِ فَذَكَرَ مِثْلَهُ
The Messenger of Allah ﷺ saw people at the end of the mosque, and then the (above-mentioned hadith) was narrated.
رَأَى رَسُولُ اللَّهِ ﷺ قَوْمًا فِي مُؤَخَّرِ الْمَسْجِدِ فَذَكَرَ مِثْلَهُ