"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.'"
كَانَ رَسُولُ اللَّهِ ﷺ إِذَا كَانَ الْحَرُّ أَبْرَدَ بِالصَّلاَةِ وَإِذَا كَانَ الْبَرْدُ عَجَّلَ