صحيح مسلم
From Sahih Muslim (Hadith 1405):
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
Reference: Muslim 1405