Hadithcore
Sunan Abi Dawud, 573
sahih· Al-Albani

Abu Hurairah reported the Prophet(ﷺ) as saying:

Come to prayer with calmness and tranquility. Then pray the part you get (long with the imam) and complete afterwards the part you miss. Abu Dawud said: Ibn Sirin narrated from Abu Hurairah the words: "he should complete it afterwards." Similarly, Abu Rafi' narrated from Abu Hurairah and Abu Dharr narrated from him the words "then complete it, and complete it afterwards." There is a variation of words in the narration from him.

حَدَّثَنَا أَبُو الْوَلِيدِ الطَّيَالِسِيُّ، حَدَّثَنَا شُعْبَةُ، عَنْ سَعْدِ بْنِ إِبْرَاهِيمَ، قَالَ سَمِعْتُ أَبَا سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ ائْتُوا الصَّلاَةَ وَعَلَيْكُمُ السَّكِينَةُ فَصَلُّوا مَا أَدْرَكْتُمْ وَاقْضُوا مَا سَبَقَكُمْ ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ وَكَذَا قَالَ ابْنُ سِيرِينَ عَنْ أَبِي هُرَيْرَةَ ‏"‏ وَلْيَقْضِ ‏"‏ ‏.‏ وَكَذَا أَبُو رَافِعٍ عَنْ أَبِي هُرَيْرَةَ وَأَبُو ذَرٍّ رُوِيَ عَنْهُ ‏"‏ فَأَتِمُّوا وَاقْضُوا ‏"‏ ‏.‏ وَاخْتُلِفَ عَنْهُ ‏.‏

References2 variants
In-Book Reference
Book 2, Hadith 183
English Reference
Book 2, Hadith 573