AbuBakr ibn AbdurRahman reported on the authority of a Companion of the Prophet ﷺ: I saw the Prophet ﷺ commanding the people while he was travelling on the occasion of the conquest of Mecca not to observe fast. He said: Be strong for your enemy. The Messenger of Allah ﷺ fasted himself. Narrated AbuBakr: A man who narrated his tradition to me said: I have seen the Messenger of Allah ﷺ in al-Arj pouring water over his head while he was fasting, either because of thirst or because of heat. (Using translation from Abū Dāʾūd 2365)
عَنْ بَعْضِ أَصْحَابِ النَّبِيِّ ﷺ أَنَّ رَسُولَ اللهِ ﷺ أَمَرَ النَّاسَ بِالْفِطْرِ عَامَ الْفَتْحِ وَقَالَ تَقَوَّوْا لِعَدُوِّكُمْ وَصَامَ رَسُولُ اللهِ ﷺ قَالَ أَبُو بَكْرٍ قَالَ الَّذِي حَدَّثَنِي لَقَدْ رَأَيْتُ رَسُولَ اللهِ ﷺ بِالْعَرْجِ يَصُبُّ عَلَى رَأْسِهِ الْمَاءَ مِنَ الْعَطَشِ أَوْ مِنَ الْحَرِّ ثُمَّ قِيلَ