Abdullah bin Abu Qatada reported,

While we were praying with the Messenger of Allah ﷺ, he heard a commotion and asked, "What is the matter with you?"They replied, "We were hurrying to the prayer."He said, "Do not do that. When you come to the prayer, you must be calm. Pray whatever you catch with the congregation, and complete whatever you missed."

Muslim 1363

Sahih

حدثني إسحق بن منصور أخبرنا محمد بن المبارك الصوري حدثنا معاوية بن سلام عن يحيى بن أبي كثير أخبرني

عبد الله بن أبي قتادة أن أباه أخبره قال

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

مسلم 1363صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Recommendation of coming to prayer with dignity and tranquility, and prohibition of coming to it running
Numbering
Darussalam 1363
Muslim 1363