[Machine] A man came to the Messenger of Allah ﷺ and said, "O Messenger of Allah, are there any times during the day and night when it is forbidden for me to pray?" The Messenger of Allah ﷺ said, "If you pray Fajr (dawn prayer), then shorten your prayer until the sun has risen; for it rises between the horns of Satan. Then the prayer is forbidden, but acceptable, until midday. When midday comes, then shorten your prayer until the sun starts to decline; for at that time it is as if Hell is kindled and the intensity of the heat is from a breath of Hell. When the sun sets, then the prayer is seen but forbidden, until you pray Asr (afternoon prayer). When you pray Asr, then shorten your prayer until the sun sets; then the prayer is seen but forbidden, until you pray Fajr."
أَنَّ رَجُلًا أَتَى رَسُولَ اللهِ ﷺ فَقَالَ يَا رَسُولَ اللهِ أَمِنْ سَاعَاتِ اللَّيْلِ وَالنَّهَارِ سَاعَةٌ تَأْمُرُنِي أَنْ لَا أُصَلِّيَ فِيهَا؟ فَقَالَ رَسُولُ اللهِ ﷺ إِذَا صَلَّيْتَ الصُّبْحَ فَأَقْصِرْ عَنِ الصَّلَاةِ حَتَّى تَرْتَفِعَ الشَّمْسُ؛ فَإِنَّهَا تَطْلُعُ بَيْنَ قَرْنَيْ شَيْطَانٍ ثُمَّ الصَّلَاةُ مَحْضُورَةٌ مُتَقَبَّلَةٌ حَتَّى يَنْتَصِفَ النَّهَارِ فَإِذَا انْتَصَفَ النَّهَارُ فَأَقْصِرْ عَنِ الصَّلَاةِ حَتَّى تَمِيلَ الشَّمْسُ؛ فَإِنَّهَا حِينَئِذٍ تُسَعَّرُ جَهَنَّمُ وَشِدَّةُ الْحَرِّ مِنْ فَيْحِ جَهَنَّمَ فَإِذَا زَالَتِ الشَّمْسُ فَالصَّلَاةُ مَشْهُودَةٌ مَحْضُورَةٌ مُتَقَبَّلَةٌ حَتَّى تُصَلِّيَ الْعَصْرَ فَإِذَا صَلَّيْتَ الْعَصْرَ فَأَقْصِرْ عَنِ الصَّلَاةِ حَتَّى تَغِيبَ الشَّمْسُ ثُمَّ الصَّلَاةُ مَشْهُودَةٌ مَحْضُورَةٌ مُتَقَبَّلَةٌ حَتَّى تُصَلِّيَ الصُّبْحَ