Narrator:Abu Hurayrah
حَدَّثَنَا الْقَعْنَبِيُّ، عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم "
مَنْ أَدْرَكَ رَكْعَةً مِنَ الصَّلاَةِ فَقَدْ أَدْرَكَ الصَّلاَةَ "
Abu Hurairah reported the Messenger of Allah (ﷺ) as saying:
If anyone obtains a rak'ah in the prayer (along with the imam), he has obtained the whole prayer.
Reported by Abu Dawud (No. 1121), Al-Bukhari (No. 580), Muslim (No. 607a), Malik (No. 15) and Ahmad (No. 7341).