The Prophet ﷺ was seen at al-Arj pouring water over his head while fasting, due to the heat or thirst.
حدثنا عبد الرحمن بن مهدي وعبد الرزاق عن مالك عن سمي
أن النبي ﷺ رئي بالعرج وهو يصب على رأسه ماء وهو صائم من الحر أو من العطش
Its chain of transmission is sahih, its narrators are trustworthy and well-known. It has already preceded at 23116.