Language:
كتاب الأذان
10  
Call to Prayers (Adhaan)
(20)
Chapter: The saying of a person "We have missed As-Salat (the prayer)"
(20)
باب قَوْلِ الرَّجُلِ فَاتَتْنَا الصَّلاَةُ
Sahih al-Bukhari 635

Narrated `Abdullah bin Abi Qatada:

My father said, "While we were praying with the Prophet (ﷺ) he heard the noise of some people. After the prayer he said, 'What is the matter?' They replied 'We were hurrying for the prayer.' He said, 'Do not make haste for the prayer, and whenever you come for the prayer, you should come with calmness, and pray whatever you get (with the people) and complete the rest which you have missed."

حَدَّثَنَا أَبُو نُعَيْمٍ، قَالَ حَدَّثَنَا شَيْبَانُ، عَنْ يَحْيَى، عَنْ عَبْدِ اللَّهِ بْنِ أَبِي قَتَادَةَ، عَنْ أَبِيهِ، قَالَ بَيْنَمَا نَحْنُ نُصَلِّي مَعَ النَّبِيِّ صلى الله عليه وسلم إِذْ سَمِعَ جَلَبَةَ رِجَالٍ فَلَمَّا صَلَّى قَالَ ‏"‏ مَا شَأْنُكُمْ ‏"‏‏.‏ قَالُوا اسْتَعْجَلْنَا إِلَى الصَّلاَةِ‏.‏ قَالَ ‏"‏ فَلاَ تَفْعَلُوا، إِذَا أَتَيْتُمُ الصَّلاَةَ فَعَلَيْكُمْ بِالسَّكِينَةِ، فَمَا أَدْرَكْتُمْ فَصَلُّوا وَمَا فَاتَكُمْ فَأَتِمُّوا ‏"‏‏.‏
Reference : Sahih al-Bukhari 635
In-book reference : Book 10, Hadith 32
USC-MSA web (English) reference : Vol. 1, Book 11, Hadith 608
  (deprecated numbering scheme)