Sahih Muslim #602 c
The Book of Mosques and Places of Prayer 5:196
Abu Huraira reported ahadith from the Messenger of Allah (ﷺ), and one of them is that the Messenger of Allah (may peace be upon), said:
When the call is made for prayer come to it walking with tranquillity, and pray what you are in time for, and complete what you have missed.