Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "When you come to the congregational prayer, do not run; come walking calmly, and adopt tranquility and dignity. Whatever part of the prayer you catch with the congregation, perform it, and whatever you miss, complete it afterwards."
Hadith Referenceالسنن المأثورة / باب ما جاء في صلاة الخوف / 66
Hadith Takhrijصحیح بخاری، الاذان، باب لا یسعی الی الصلاة، رقم: 636؛ صحیح مسلم، المساجد ومواضع الصلاة، باب استحباب اتیان الصلاة بوقار وسکینة، رقم: 602۔