Al-Ilmam bi-Ahadith al-Ahkam 143
وَعَن أبي هُرَيْرَة رَضِيَ اللَّهُ عَنْه، أَن رَسُول الله ﷺ قَالَ: " من أدْرك رَكْعَة من الصُّبْح قبل أَن تطلع الشَّمْس؛ فقد أدْرك الصُّبْح، وَمن أدْرك رَكْعَة من الْعَصْر قبل أَن تغرب الشَّمْس؛ فقد أدْرك الْعَصْر ". مُتَّفق عَلَيْهِ. وَفِي رِوَايَة أبي سَلمَة، عَن أبي هُرَيْرَة رَضِيَ اللَّهُ عَنْه عِنْد البُخَارِيّ: " إِذا أدْرك (أحدكُم) سَجْدَة من صَلَاة الْعَصْر قبل أَن تغرب الشَّمْس فليتم صلَاته، وَإِذا أدْرك سَجْدَة من صَلَاة الصُّبْح قبل أَن تطلع الشَّمْس؛ فليتم صلَاته ".
From Abu Hurayrah, may Allah be pleased with him, that the Messenger of Allah ﷺ said: "Whoever catches a rakʿah of Subh before the sun rises has caught Subh, and whoever catches a rakʿah of ʿAsr before the sun sets has caught ʿAsr." Agreed upon. In the narration of Abu Salamah, from Abu Hurayrah, may Allah be pleased with him, with al-Bukhari: "When (one of you) catches a sajdah of the ʿAsr prayer before the sun sets, let him complete his prayer; and when he catches a sajdah of the Subh prayer before the sun rises, let him complete his prayer."