Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: When a person catches the first rak'ah of Fajr before the sun rises, he should complete his prayer, and when a person catches the first rak'ah of Asr before the sun sets, he should complete his prayer.