(28) باب تَسْوِيَةِ الصُّفُوفِ وَإِقَامَتِهَا وَفَضْلِ الأَوَّلِ فَالأَوَّلِ مِنْهَا وَالاِزْدِحَامِ عَلَى الصَّفِّ الأَوَّلِ وَالْمُسَابَقَةِ إِلَيْهَا وَتَقْدِيمِ أُولِي الْفَضْلِ وَتَقْرِيبِهِمْ مِنَ الإِمَامِ
Abu Sa'id al-Khudri reported:
The Messenger of Allah (ﷺ) saw people at the end of the mosque, and then the (above-mentioned hadith) was narrated. (ES)
Reference (ES): Sahih Muslim 438 b (ES)
In-book reference (ES): Book 4, Hadith 145 (ES)
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 879 (ES)