Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When the call to prayer is given, do not come to it running. Come to it walking calmly, with tranquility upon you. Whatever you catch, pray it, and whatever you miss, complete it. For each of you is in prayer as long as he is heading toward the prayer."

Azami 2388

Sahih

عن أبي هريرة قال

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

الأعظمي 2388صحيح
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 2388 (2nd edition)
Azami 2388