Yahya related to me from Malik from Zayd ibn Aslam from Ata ibn Yasar that the Messenger of Allah ﷺ said, "Scorching heat is a part of the blast of Jahannam. So, when the heat is fierce, delay the prayer until it gets cooler." He added in explanation, "The Fire complained to its Lord and said, 'My Lord, part of me has eaten another part,' so He allowed it two breaths in every year, a breath in winter and a breath in summer."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِنَّ شِدَّةَ الْحَرِّ مِنْ فَيْحِ جَهَنَّمَ فَإِذَا اشْتَدَّ الْحَرُّ فَأَبْرِدُوا عَنِ الصَّلاَةِ وَقَالَ اشْتَكَتِ النَّارُ إِلَى رَبِّهَا فَقَالَتْ يَا رَبِّ أَكَلَ بَعْضِي بَعْضًا فَأَذِنَ لَهَا بِنَفَسَيْنِ فِي كُلِّ عَامٍ نَفَسٍ فِي الشِّتَاءِ وَنَفَسٍ فِي الصَّيْفِ