It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that when we prayed with the Messenger of Allah (peace and blessings be upon him), several of us Companions would spread a piece of cloth at the place of prostration because of the intensity of the heat.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2664