Abu Qatada reported,

While we were praying with the Messenger of Allah ﷺ, he heard the commotion of some men. When he finished the prayer, he asked, "What is the matter with you?"They replied, "We were rushing to catch the prayer."He said, "Do not do that. When you come to the prayer, come with calmness. Whatever you catch, pray it, and whatever you miss, complete it."

Azami 2389

Sahih

عن أبي قتادة قال

بينما نحن نصلي مع رسول الله ﷺ فسمع جلبة رجال، فلما صلى قال: ما شأنكم؟ قالوا: استعجلنا إلى الصلاة. قال: فلا تفعلوا إذا أتيتم الصلاة فعليكم بالسكينة، فما أدركتم فصلوا، وما فاتكم فأتموا.

الأعظمي 2389صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Congregational prayer
Section
Recommendation of coming to prayer with dignity and tranquility
Numbering
Jami al-Kamil 2389 (2nd edition)
Azami 2389