(5) Establishing the Prayer and the Sunnah Regarding Them
كتاب إقامة الصلاة والسنة فيها
(64) Chapter: Prostrating on a garment when it is hot or cold
(64) باب السُّجُودِ عَلَى الثِّيَابِ فِي الْحَرِّ وَالْبَرْدِ
Sunan Ibn Majah 1033 
It was narrated that Anas bin Malik said:
“We used to perform prayer with the Prophet (ﷺ) when it was very hot. When one of us could not place his forehead firmly on the ground, he would spread his garment and prostrate on it.”
حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ بْنِ حَبِيبٍ، حَدَّثَنَا بِشْرُ بْنُ الْمُفَضَّلِ، عَنْ غَالِبٍ الْقَطَّانِ، عَنْ بَكْرِ بْنِ عَبْدِ اللَّهِ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ كُنَّا نُصَلِّي مَعَ النَّبِيِّ ـ صلى الله عليه وسلم ـ فِي شِدَّةِ الْحَرِّ فَإِذَا لَمْ يَقْدِرْ أَحَدُنَا أَنْ يُمَكِّنَ جَبْهَتَهُ بَسَطَ ثَوْبَهُ فَسَجَدَ عَلَيْهِ ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan Ibn Majah 1033
In-book reference : Book 5, Hadith 231
English translation : Vol. 1, Book 5, Hadith 1033