Khalid bin Dinar Abu Khaldah said:
"I heard Anas bin Malik say: 'When it was hot, the Messenger of Allah (ﷺ) would wait until it cooled down to pray, and when it was cold he would hasten to pray.'" (DE)
English reference (DE): Vol. 1, Book 6, Hadith 500 (DE)
Arabic reference (DE): Book 6, Hadith 503 (DE)