حَدَّثَنَا مُحَمَّدُ بْنُ عَمْرِو بْنِ خَالِدٍ الْحَرَّانِيُّ، ثنا أَبِي، ثنا مُوسَى بْنُ أَعْيَنَ، عَنْ لَيْثٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ سَابِطٍ، عَنْ أَبِي أُمَامَةَ، عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَا تُصَلُّوا عِنْدَ طُلُوعِ الشَّمْسِ، فَإِنَّهَا تَطْلُعُ بَيْنَ قَرْنَيْ شَيْطَانٍ، كُلُّ كَافِرٍ يَسْجُدُ لَهَا، وَلَا تُصَلُّوا عِنْدَ غُرُوبِ الشَّمْسِ، فَإِنَّهَا تَغْرُبُ بَيْنَ قَرْنَيْ شَيْطَانٍ كُلُّ كَافِرٍ يَسْجُدُ لَهَا، وَلَا تُصَلُّوا عِنْدَ وَسَطِ النَّهَارِ، فَإِنَّ جَهَنَّمَ تُسْجَرُ عِنْدَ ذَلِكَ»
It is narrated from Sayyiduna Abu Umamah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Do not pray when the sun is rising, for it rises between the two horns of Satan, and every disbeliever prostrates to it at that time; and do not pray when the sun is setting either, for it sets between the two horns of Satan, and every disbeliever prostrates to it at that time too; and do not pray at midday either, for at that time Hell is stoked."