Allah's Messenger (ﷺ) said, "If it is very hot, then pray the Zuhr prayer when it becomes (a bit) cooler, as the severity of the heat is from the raging of the Hell-fire."
Sahih al-Bukhari Book 9, Hadith 12