كتاب الصلاة
4  
The Book of Prayers
(28)
Chapter: Straightening The Rows; The Virtue Of The Front Row And Then The Next; Competing With One Another For The Front Row; The People Of Virtue Should Take Precedence And Be Closest To The Imam
(28)
باب تَسْوِيَةِ الصُّفُوفِ وَإِقَامَتِهَا وَفَضْلِ الأَوَّلِ فَالأَوَّلِ مِنْهَا وَالاِزْدِحَامِ عَلَى الصَّفِّ الأَوَّلِ وَالْمُسَابَقَةِ إِلَيْهَا وَتَقْدِيمِ أُولِي الْفَضْلِ وَتَقْرِيبِهِمْ مِنَ الإِمَامِ
Sahih Muslim 432 b

This hadith is narrated by Ibn Uyaina with the same chain of transmitters.

وَحَدَّثَنَاهُ إِسْحَاقُ، أَخْبَرَنَا جَرِيرٌ، ح قَالَ وَحَدَّثَنَا ابْنُ خَشْرَمٍ، أَخْبَرَنَا عِيسَى يَعْنِي ابْنَ يُونُسَ، ح قَالَ وَحَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا ابْنُ عُيَيْنَةَ، بِهَذَا الإِسْنَادِ نَحْوَهُ ‏.‏
Reference : Sahih Muslim 432b
In-book reference : Book 4, Hadith 135
USC-MSA web (English) reference : Book 4, Hadith 869
  (deprecated numbering scheme)