Imām Bukhārī narrates: Ayyūb ibn Sulaimān narrated to us, he said: Abū Bakr narrated to us, from Sulaimān, Sālih ibn Kaisān said: Al-A'raj, 'Abdur-Rahmān and others narrated to us, from Abū Hurairah, may Allāh be pleased with him, and Nāfi', the freed slave of 'Abdullāh ibn 'Umar, may Allāh be pleased with them both — both of them narrated to him this hadith of the Messenger of Allāh ﷺ:
He said: When the heat is intense, pray the prayer in the cooler time, because the intensity of heat is from the raging of the Fire.
حَدَّثَنَا أَيُّوبُ بْنُ سُلَيْمَانَ، قَالَ حَدَّثَنَا أَبُو بَكْرٍ، عَنْ سُلَيْمَانَ، قَالَ صَالِحُ بْنُ كَيْسَانَ حَدَّثَنَا الأَعْرَجُ عَبْدُ الرَّحْمَنِ، وَغَيْرُهُ، عَنْ أَبِي هُرَيْرَةَ.وَنَافِعٌ مَوْلَى عَبْدِ اللَّهِ بْنِ عُمَرَ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّهُمَا حَدَّثَاهُ عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم أَنَّهُ قَالَ " إِذَا اشْتَدَّ الْحَرُّ فَأَبْرِدُوا عَنِ الصَّلاَةِ، فَإِنَّ شِدَّةَ الْحَرِّ مِنْ فَيْحِ جَهَنَّمَ ".
Reference: Sahih Al Bukhari 534