عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: كُنَّا نُصَلِّي مَعَ نَبِيِّ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فِي شِدَّةِ الْحَرِّ فَإِذَا لَمْ يَسْتَطِعْ أَحَدُنَا أَنْ يُمَكِّنَ وَجْهَهُ مِنَ الْأَرْضِ بَسَطَ ثَوْبَهُ فَيَسْجُدُ عَلَيْهِ
Sayyiduna Anas bin Malik (may Allah be pleased with him) says: We used to pray with the Noble Prophet (peace and blessings be upon him) in intense heat, and when one of us was unable to place his face on the ground, he would spread his cloth and prostrate on it.