Sahih al-Bukhari, Book 11, Hadith 32 (Bukhari 886)
Narrated Abu Huraira:
heard Allah's Messenger (ﷺ)s (p.b.u.h) saying, "If the prayer is started do not run for it but just walk for it calmly and pray whatever you get, and complete whatever is missed. "