In Ṣaḥīḥ al-Bukhārī it is narrated from al-Barāʾ ibn ʿĀzib who said:
“You reckon the Victory to be the conquest of Mecca—and the conquest of Mecca was indeed a victory—but we consider the Victory to be the Pledge of Riḍwān on the day of al-Hudaybiyyah. We were fourteen hundred in the company of the Messenger of Allah, peace and blessings be upon him. Hudaybiyyah was a single well; we drew from it until not a drop remained. When this reached the Prophet, peace and blessings be upon him, he came to the well and sat on its rim. He requested a vessel of water, performed ablution, rinsed his mouth, supplicated, then poured the water into the well. We left it for only a short while, after which it gushed forth so abundantly that it provided us and our mounts with all the water we desired. We were one thousand four hundred—or even more than that.”
And in Ṣaḥīḥ Muslim it is narrated from Salamah ibn al-Akwaʿ who said:
“We arrived at al-Hudaybiyyah with the Messenger of Allah, peace and blessings be upon him; we were fourteen hundred, or perhaps more. The well contained so little water that even fifty sheep could not be watered from it. The Messenger of Allah, peace and blessings be upon him, sat at the brink of the well, and he either supplicated over it or spat into it. The water then swelled up, and we watered our animals and drew water.”