Sayyiduna al-Irbad bin Sariyah (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) would seek forgiveness for the front row three times and for the second row once.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 15729