Sahih al-Bukhari, Book 9, Hadith 12 (Bukhari 523)

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."