It is narrated from Sayyiduna Khabbab bin al-Aratt (may Allah be pleased with him) that we complained to the Messenger of Allah (peace and blessings be upon him) about the intense heat of the sun, that our foreheads and palms were burning, but he (peace and blessings be upon him) did not accept our complaint.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2657