Anas bin Malik reported,

We used to pray with the Prophet ﷺ in the intense heat, and when one of us could not press his forehead to the ground, he would spread out his garment and prostrate upon it.

Ibn Majah 1033

Sahih

حدثنا إسحق بن إبراهيم بن حبيب حدثنا بشر بن المفضل عن غالب القطان عن بكر بن عبد الله

عن أنس بن مالك قال

كنا نصلي مع النبي ﷺ في شدة الحر فإذا لم يقدر أحدنا أن يمكن جبهته بسط ثوبه فسجد عليه

ابن ماجه 1033صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Sujud on clothes in heat and cold
Numbering
Darussalam 1033
Ibn Majah 1033