[Machine] The Messenger of Allah ﷺ said, "Whoever catches a unit of prayer has indeed caught the prayer." In another narration by Al-Qa'nabi from Malik, and a narration by Sufyan, "Whoever catches a unit of prayer has indeed caught the prayer."
قَالَ رَسُولُ اللهِ ﷺ مَنْ أَدْرَكَ مِنَ الصَّلَاةِ رَكْعَةً فَقَدْ أَدْرَكَ الصَّلَاةَ وَفِي رِوَايَةِ الْقَعْنَبِيِّ عَنْ مَالِكٍ وَرِوَايَةِ سُفْيَانَ مَنْ أَدْرَكَ رَكْعَةً مِنَ الصَّلَاةِ فَقَدْ أَدْرَكَ الصَّلَاةَ