'Abdullah bin Abu Qatadah (RA) reported on the authority of his father: While we said our prayer with the Messenger of Allah (ﷺ) he heard tumult. (At the end of the prayer) he (the Holy Prophet) said: What is the matter with you? They said: We hastened to prayer. He (the Holy Prophet) said: Don't do that; when you come for prayer, there should be tranquility upon you. Pray (along with the Imam) what you can find and complete what preceded you.
Hadith Referenceصحيح مسلم / كتاب المساجد ومواضع الصلاة / 603
This hadith has been narrated on the authority of Yabya bin Hamza with the same chain of transmitters, but he did not say: On the occasion of Hajjat-al-Wada'.