The Prophet ﷺ said, "Complete the first row, then the one behind it. If there is to be any shortage, let it be in the last row."
حدثنا محمد بن بكر أخبرنا سعيد عن قتادة
أن النبي ﷺ قال أتموا الصف الأول والذي يليه فإن كان نقص فليكن في الصف الآخر
Its isnad is sahih, mentioned earlier at 12292.