When we offered the Zuhr prayers behind Allah's Messenger (ﷺ) we used to prostrate on our clothes to protect ourselves from the heat.
Sahih al-Bukhari Book 9, Hadith 19