It wasnarrated that Anas bin Malik said:
"We used to perform prayerwiththe Prophet (ﷺ) when it was very hot. When one of us could notplace his forehead firmly on the ground, he would spread his garmentand prostrate on it."
English reference: Vol. 1, Book 5, Hadith 1033
Arabic reference: Book 5, Hadith 1086
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.