Sayyiduna Abu Bakrah (may Allah be pleased with him) narrates that he went into bowing before reaching the row. (After the prayer) the Prophet (peace and blessings be upon him) said to him: "May Allah Almighty increase your eagerness, but do not do this again. Pray whatever part of the prayer you catch, and make up (qada) whatever has already passed (i.e. offer it afterwards)." (Allamah al-Haythami says:) I say: This narration is in the Sahih and other books as well, but without these words: "Pray whatever part of the prayer you catch, and make up whatever has already passed."
Al-Tabarani recorded it in al-Mu'jam al-Kabir; its chain contains Abdullah bin Isa al-Khazzaz, who is da'if (weak). (Allamah al-Haythami says:) I say: Hadiths on this topic have already passed in the chapter on walking to the prayer.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 2399