From Sahih Bukhari (Hadith 534):
Narrated Abu Huraira and `Abdullah bin `Umar: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
Reference: Bukhari 534