Sahih al-Bukhari, Book 64, Hadith 195 (In-Book)

Narrated Al-Bara bin Azib: That they were in the company of Allah's Messenger on the day of Al-Hudaibiya and their number was 1400 or more. They camped at a well and drew its water till it was dried. When they informed Allah's Apostle of that, he came and sat over its edge and said, "Bring me a bucket of its water." When it was brought, he spat and invoked (Allah) and said, "Leave it for a while." Then they quenched their thirst and watered their riding animals (from that well) till they departed.

حَدَّثَنِي فَضْلُ بْنُ يَعْقُوبَ، حَدَّثَنَا الْحَسَنُ بْنُ مُحَمَّدِ بْنِ أَعْيَنَ أَبُو عَلِيٍّ الْحَرَّانِيُّ، حَدَّثَنَا زُهَيْرٌ، حَدَّثَنَا أَبُو إِسْحَاقَ، قَالَ أَنْبَأَنَا الْبَرَاءُ بْنُ عَازِبٍ ـ رضى الله عنهما أَنَّهُمْ كَانُوا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم يَوْمَ الْحُدَيْبِيَةِ أَلْفًا وَأَرْبَعَمِائَةٍ أَوْ أَكْثَرَ، فَنَزَلُوا عَلَى بِئْرٍ فَنَزَحُوهَا، فَأَتَوْا رَسُولَ اللَّهِ صلى الله عليه وسلم فَأَتَى الْبِئْرَ، وَقَعَدَ عَلَى شَفِيرِهَا ثُمَّ قَالَ ‏"‏ ائْتُونِي بِدَلْوٍ مِنْ مَائِهَا ‏"‏‏.‏ فَأُتِيَ بِهِ فَبَصَقَ فَدَعَا ثُمَّ قَالَ ‏"‏ دَعُوهَا سَاعَةً ‏"‏‏.‏ فَأَرْوَوْا أَنْفُسَهُمْ وَرِكَابَهُمْ حَتَّى ارْتَحَلُوا‏.‏

sunnah.com