The Messenger of Allah said: "When the Iqamah is called for the prayer, do not come running. Come walking with tranquility. Whatever you catch up with, pray, and whatever you miss, complete it." (Using translation from Ibn Mājah 775)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَا تَأْتُوا الصَّلَاةَ وَأَنْتُمْ تَسْعَوْنَ وَلَكِنِ امْشُوا إِلَيْهَا وَعَلَيْكُمُ السَّكِينَةُ فَمَا أَدْرَكْتُمْ فَصَلُّوا وَمَا فَاتَكُمْ فَأَتِمُّوا