The Messenger of Allah ﷺ said, "Whatever you catch of the prayer, pray it, and whatever you miss, make it up."Muamar said, and he did not mention prostration.
حدثنا عبد الله حدثنا أبي حدثنا عبد الرزاق أخبرنا معمر عن الزهري عن ابن المسيب
أن رسول الله ﷺ قال ما أدركتم فصلوا وما فاتكم فاقضوا قال معمر ولم يذكر سجودا
No references are available.
Its isnad is sahih, and it is a shorter version of the hadith before it. Maamar's statement following the hadith, "and he did not mention prostration," means that this instance does not fall under forgetfulness and is not similar to it, so the prostration of forgetfulness was not prescribed for it.