Al-Adab Al-Mufrad, Hadith 1162 ⓘ
Abu Khulda reported that he heard Anas ibn Malik when he was with al-Hakam, the amir of Basra, on a seat. He said, "When the Prophet, may Allah bless him and grant him peace, was hot, he delayed the prayer until a cooler time of the day. When it was cold, he made the prayer early."
حَدَّثَنَا عُبَيْدٌ، قَالَ: حَدَّثَنَا يُونُسُ بْنُ بُكَيْرٍ، قَالَ: حَدَّثَنَا خَالِدُ بْنُ دِينَارٍ أَبُو خَلْدَةَ قَالَ: سَمِعْتُ أَنَسَ بْنَ مَالِكٍ، وَهُوَ مَعَ الْحَكَمِ أَمِيرٌ بِالْبَصْرَةِ عَلَى السَّرِيرِ، يَقُولُ: كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا كَانَ الْحَرُّ أَبْرَدَ بِالصَّلاَةِ، وَإِذَا كَانَ الْبَرْدُ بَكَّرَ بِالصَّلاةِ.
also referenced under: Book 47, Hadith 1162 (In-Book) & Book 47, Hadith 1162 (English)