Salama bin Akwa reported,

We arrived at Hudaybiyyah with the Messenger of Allah ﷺ numbering fourteen hundred. At the well there were fifty sheep, but its water was not enough to quench their thirst. The Messenger of Allah ﷺ sat on the edge of the well and either made a supplication or spat into it. The water then surged up, so we drank our fill and drew water for our needs.

Azami 8998

Sahih

عن سلمة بن الأكوع قال

قدمنا الحديبية مع رسول الله ﷺ ونحن أربع عشر مائة. وعليها خمسون شاة لا ترويها، قال: فقعد رسول الله ﷺ على جبا الركية فإما دعا، وإما بصق فيها، قال: فجاشت فسقينا واستقينا.

الأعظمي 8998صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expedition of Hudaybiya and expedition of Dhat al-Qarad
Section
Number of those who were with the Messenger of Allah ﷺ on the day of Hudaybiya
Numbering
Jami al-Kamil 8998 (2nd edition)
Azami 8998