It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When you hear the Iqamah, proceed to the prayer and maintain dignity. Whatever you catch with the Imam, perform it, and whatever you miss, complete it afterwards."
Hadith Referenceالسنن المأثورة / باب ما جاء في صلاة الخوف / 67
Hadith Takhrijصحیح بخاری، الاذان، باب لا یسعی الی الصلاة، رقم: 636؛ صحیح مسلم، المساجد ومواضع الصلاة، باب استحباب اتیان الصلاة بوقار وسکینة، رقم: 602۔