Sahih al-Bukhari Book 9, Hadith 57
"The Prophet (ﷺ) forbade praying after the Fajr prayer till the sun rises and after the `Asr prayer till the
sun sets."
Narrated Ibn `Abbas:
Some people told me the same narration (as above).
Allah's Messenger (ﷺ) said, "Whoever could get one rak`a of a prayer, (in its proper time) he has got the prayer."
Ibn `Umar said, "Allah's Messenger (ﷺ) said, 'Do not pray at the time of sunrise and at the time of sunset.' " Ibn `Umar said, "Allah's Messenger (ﷺ) said, 'If the edge of the sun appears (above the horizon) delay the prayer till it becomes high, and if the edge of the sun disappears, delay the prayer till it sets (disappears completely).' "