"Whoever catches up with one Rak'ah of 'Asr prayer before the sun sets, or catches up with one Rak'ah of Fajr before the sun rises, has caught it."
Sunan an-Nasa'i Book 6, Hadith 22