It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that on an extremely hot summer day the Messenger of Allah (peace and blessings be upon him) passed by a stream formed from rainwater. Those travelling on foot were many, and the people were fasting. So he (peace and blessings be upon him) stopped there until, when all the people had gathered, he (peace and blessings be upon him) said: "O people! Drink water." The narrator says: The people began to look at what he (peace and blessings be upon him) himself would do. So he (peace and blessings be upon him) said: "I am not like you; I am riding and you are on foot." The narrator says: The people still kept looking (waiting for his action). So when he (peace and blessings be upon him) saw that they were holding back (from breaking the fast), he (peace and blessings be upon him) turned his blessed thigh and dismounted, then he (peace and blessings be upon him) drank water, and on seeing him (peace and blessings be upon him) the people also drank.
Imam Musaddad recorded it with a sahih chain, and Imam Ibn Hibban in his Sahih.