Anas bin Malik reported,

We used to pray with the Messenger of Allah ﷺ in intense heat, and when one of us was unable to press his forehead firmly against the ground, he would spread out his garment and prostrate upon it.

Muslim 1407

Sahih

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

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

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

مسلم 1407صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Recommendation to pray Dhuhr at the beginning of its time when not excessively hot
Numbering
Darussalam 1407
Muslim 1407