The Messenger of Allah ﷺ prayed three times for the front row and once for the row behind it.
حدثنا الحكم بن نافع قال حدثنا إسماعيل بن عياش عن بحير بن سعد عن خالد بن معدان عن جبير بن نفير
صلى رسول الله ﷺ على الصف المقدم ثلاثا وعلى الذي يليه واحدة
Its isnad is sahih. It was mentioned previously at 17092.