كتاب صلاة المسافرين وقصرها
6  
The Book of Prayer - Travellers
(51)
Chapter: The times when it is forbidden to offer salat
(51)
باب الأَوْقَاتِ الَّتِي نُهِيَ عَنِ الصَّلاَةِ، فِيهَا ‏.‏
Sahih Muslim 826 a

Ibn 'Abbas reported:

I heard it from so many Companions of the Messenger of Allah (ﷺ) and one among them is 'Umar b. Khattab, and he is most dear to me among them that the Messenger of Allah (ﷺ) prohibited observing of prayer after the dawn prayer till the sun rose and after the 'Asr till the sun set.
وَحَدَّثَنَا دَاوُدُ بْنُ رُشَيْدٍ، وَإِسْمَاعِيلُ بْنُ سَالِمٍ، جَمِيعًا عَنْ هُشَيْمٍ، - قَالَ دَاوُدُ حَدَّثَنَا هُشَيْمٌ، - أَخْبَرَنَا مَنْصُورٌ، عَنْ قَتَادَةَ، قَالَ أَخْبَرَنَا أَبُو الْعَالِيَةِ، عَنِ ابْنِ عَبَّاسٍ، قَالَ سَمِعْتُ غَيْرَ، وَاحِدٍ، مِنْ أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم مِنْهُمْ عُمَرُ بْنُ الْخَطَّابِ وَكَانَ أَحَبَّهُمْ إِلَىَّ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنِ الصَّلاَةِ بَعْدَ الْفَجْرِ حَتَّى تَطْلُعَ الشَّمْسُ وَبَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ ‏.‏
Reference : Sahih Muslim 826a
In-book reference : Book 6, Hadith 349
USC-MSA web (English) reference : Book 4, Hadith 1804
  (deprecated numbering scheme)