Khabbab reported: We complained to the Messenger of Allah (ﷺ) (the difficulty of) saying prayer on the intensely heated (ground or sand), but he paid no heed to our complaint.
Hadith Referenceصحيح مسلم / كتاب المساجد ومواضع الصلاة / 619
Khabbab reported: We came to the Messenger of Allah (ﷺ) and we complained to the Messenger of Allah (ﷺ) about (saying prayer) on the extremely heated ground (or sand), but he paid no heed to us. Zuhair said: I asked Abu Ishaq whether it was about the noon prayer. He said: Yes. I again said whether it concerned the (offering) of the noon (prayer) in earlier hours. He said: Yes. I said: Did it concern expediting it? He said: Yes.
Hadith Referenceصحيح مسلم / كتاب المساجد ومواضع الصلاة / 619
Anas bin Malik (RA) reported: We used to say (the noonprayer) with the Messenger of Allah (ﷺ) in the intense heat, but when someone amongst us found it hard to place his forehead on the ground, he spread his cloth and prostrated on it.
Hadith Referenceصحيح مسلم / كتاب المساجد ومواضع الصلاة / 620