The Messenger of Allah ﷺ said, "Whoever catches one rakah of the prayer has caught the prayer."
حدثنا محمد بن سلمة عن ابن إسحاق عن يزيد بن أبي حبيب عن عراك بن مالك
قال رسول الله ﷺ من أدرك من الصلاة ركعة فقد أدركها
Its isnad is sahih. It is an abridgment of 7529.