When we offered the Zuhr prayers behind Messenger of Allah ﷺ we used to prostrate on our clothes to protect ourselves from the heat. (Using translation from Bukhārī 542)
«كُنَّا إِذَا صَلَّيْنَا خَلْفَ رَسُولِ اللهِ ﷺ بِالظَّهَائِرِ سَجَدْنَا عَلَى ثِيَابِنَا اتِّقَاءَ الْحَرِّ»