When the heat is violent, offer (the Zuhr) prayer when it becomes fairly cool, for the violent heat comes from the bubbling over the Hell.
Sunan Abi Dawud Book 2, Hadith 12