Khalid bin Dinar Abu Khaldah said: I heard Anas bin Malik say: 'When it was hot, the Messenger of Allah (ﷺ) would wait until it cooled down to pray, and when it was cold he would hasten to pray.'
It was narrated that Abu Hurairah said: The Messenger of Allah (ﷺ) said: 'If it is very hot, wait until it cools down before you pray, for intense heat is a breeze from Hell.'
It was narrated from Abu Musa in a Marfu' [1] report: Wait until it cools down to pray Zuhr, for the heat you experience is a breeze from Hell. [1] Meaning he attributed it to the Prophet (ﷺ).