حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا غُنْدَرٌ، عَنْ شُعْبَةَ، عَنْ يَعْلَى بْنِ عَطَاءٍ، عَنْ يَزِيدَ بْنِ طَلْقٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ الْبَيْلَمَانِيِّ، عَنْ عَمْرِو بْنِ عَبَسَةَ، قَالَ أَتَيْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ فَقُلْتُ هَلْ مِنْ سَاعَةٍ أَحَبُّ إِلَى اللَّهِ مِنْ أُخْرَى قَالَ ‏"‏ نَعَمْ. جَوْفُ اللَّيْلِ الأَوْسَطُ. فَصَلِّ مَا بَدَا لَكَ حَتَّى يَطْلُعَ الصُّبْحُ. ثُمَّ انْتَهِ حَتَّى تَطْلُعَ الشَّمْسُ، وَمَا دَامَتْ كَأَنَّهَا حَجَفَةٌ حَتَّى تَنْتَشِرَ. ثُمَّ صَلِّ مَا بَدَا لَكَ حَتَّى يَقُومَ الْعَمُودُ عَلَى ظِلِّهِ. ثُمَّ انْتَهِ حَتَّى تَزُولَ الشَّمْسُ فَإِنَّ جَهَنَّمَ تُسْجَرُ نِصْفَ النَّهَارِ. ثُمَّ صَلِّ مَا بَدَا لَكَ حَتَّى تُصَلِّيَ الْعَصْرَ. ثُمَّ انْتَهِ حَتَّى تَغْرُبَ الشَّمْسُ، فَإِنَّهَا تَغْرُبُ بَيْنَ قَرْنَىِ الشَّيْطَانِ وَتَطْلُعُ بَيْنَ قَرْنَىِ الشَّيْطَانِ ‏"‏ ‏.‏
Translation
It wasnarrated that Abu Hurairah said

“Safwan bin Mu’attal askedtheMessenger of Allah (ﷺ): ‘O Messenger of Allah, I want to ask youabout something of which you have knowledge and I know nothing.’ Hesaid: ‘What is it?’ He said: ‘Is there any time of the night ordaywhen it is disliked to perform prayer? He said: ‘Yes, when youhaveprayed the Subh, then do not pray until the sun has risen, foritrises between the two horns of Satan. Then pray, for the prayer isattended (by the angels) and is acceptable (to Allah) until the sunisright overhead like a spear. For at that time Hell is heated upandits gates are opened. (Then refrain from prayer) until the sunpassesthe zenith. Then when it has passed the zenith, the prayer isattended(by the angels) and is acceptable (to Allah) until you praythe ‘Asr.Then stop praying until the sun has set.’”