The Messenger of Allah ﷺ said, "Whoever catches one rakah of the Asr prayer before the sun sets has caught it, and whoever catches one rakah of the Fajr prayer before the sun rises has caught it."
و حدثنا حسن بن الربيع حدثنا عبد الله بن المبارك عن معمر عن ابن طاوس عن أبيه عن ابن عباس
قال رسول الله ﷺ من أدرك من العصر ركعة قبل أن تغرب الشمس فقد أدرك ومن أدرك من الفجر ركعة قبل أن تطلع الشمس فقد أدرك