Anas bin Malik (may Allah be pleased with him) says that we used to pray with the Prophet (peace and blessings of Allah be upon him), and some of us would spread the edge of our garment on the place of prostration because of the intense heat.