Hadith 562

It was narrated that Ibn 'Abbas said: "I heard more than one of the Companions of the Prophet (PBUH) - including 'Umar who was one of the dearest of them to me - that the Messenger of Allah (PBUH) forbade praying after Fajr until the sun had risen, and praying after 'Asr until the sun had set."

أَخْبَرَنَا أَحْمَدُ بْنُ مَنِيعٍ، قَالَ حَدَّثَنَا هُشَيْمٌ، قَالَ أَنْبَأَنَا مَنْصُورٌ، عَنْ قَتَادَةَ، قَالَ حَدَّثَنَا أَبُو الْعَالِيَةِ، عَنِ ابْنِ عَبَّاسٍ، قَالَ سَمِعْتُ غَيْرَ، وَاحِدٍ، مِنْ أَصْحَابِ النَّبِيِّ صلى الله عليه وسلم مِنْهُمْ عُمَرُ - وَكَانَ مِنْ أَحَبِّهِمْ إِلَىَّ - أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنِ الصَّلاَةِ بَعْدَ الْفَجْرِ حَتَّى تَطْلُعَ الشَّمْسُ وَعَنِ الصَّلاَةِ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ ‏.‏

Reference: 1105640
In-book reference: Book 6, Hadith 562
Hadith 562 - The Book of the Times (of Prayer) - Sunan an-Nasa'i - Sunnah.com