Hadith 671

Narrated Anas ibn Malik:

The Prophet (saws) said: Complete the front row, then the one that comes next, and if there is any incompleteness, let it be in the last row.

حَدَّثَنَا مُحَمَّدُ بْنُ سُلَيْمَانَ الأَنْبَارِيُّ، حَدَّثَنَا عَبْدُ الْوَهَّابِ، - يَعْنِي ابْنَ عَطَاءٍ - عَنْ سَعِيدٍ، عَنْ قَتَادَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ أَتِمُّوا الصَّفَّ الْمُقَدَّمَ ثُمَّ الَّذِي يَلِيهِ فَمَا كَانَ مِنْ نَقْصٍ فَلْيَكُنْ فِي الصَّفِّ الْمُؤَخَّرِ ‏"‏ ‏.‏

Reference: 906710
In-book reference: Book 2, Hadith 671
Hadith 671 - Prayer (Kitab Al-Salat) - Sunan Abi Dawud - Sunnah.com