كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(35)
Chapter: The Ghazwa of Al-Hudaibiya
(35)
باب غَزْوَةِ الْحُدَيْبِيَةِ
Sahih al-Bukhari 4150

Narrated Al-Bara:

Do you (people) consider the conquest of Mecca, the Victory (referred to in the Qur'an 48:1). Was the conquest of Mecca a victory? We really consider that the actual Victory was the Ar-Ridwan Pledge of allegiance which we gave on the day of Al-Hudaibiya (to the Prophet) . On the day of Al-Hudaibiya we were fourteen hundred men along with the Prophet (ﷺ) Al-Hudaibiya was a well, the water of which we used up leaving not a single drop of water in it. When the Prophet (ﷺ) was informed of that, he came and sat on its edge. Then he asked for a utensil of water, performed ablution from it, rinsed (his mouth), invoked (Allah), and poured the remaining water into the well. We stayed there for a while and then the well brought forth what we required of water for ourselves and our riding animals.

حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ إِسْرَائِيلَ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْبَرَاءِ ـ رضى الله عنه ـ قَالَ تَعُدُّونَ أَنْتُمُ الْفَتْحَ فَتْحَ مَكَّةَ، وَقَدْ كَانَ فَتْحُ مَكَّةَ فَتْحًا، وَنَحْنُ نَعُدُّ الْفَتْحَ بَيْعَةَ الرُّضْوَانِ يَوْمَ الْحُدَيْبِيَةِ‏.‏ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم أَرْبَعَ عَشْرَةَ مِائَةً، وَالْحُدَيْبِيَةُ بِئْرٌ فَنَزَحْنَاهَا، فَلَمْ نَتْرُكْ فِيهَا قَطْرَةً، فَبَلَغَ ذَلِكَ النَّبِيَّ صلى الله عليه وسلم فَأَتَاهَا، فَجَلَسَ عَلَى شَفِيرِهَا، ثُمَّ دَعَا بِإِنَاءٍ مِنْ مَاءٍ فَتَوَضَّأَ ثُمَّ مَضْمَضَ وَدَعَا، ثُمَّ صَبَّهُ فِيهَا فَتَرَكْنَاهَا غَيْرَ بَعِيدٍ ثُمَّ إِنَّهَا أَصْدَرَتْنَا مَا شِئْنَا نَحْنُ وَرِكَابَنَا‏.‏
Reference : Sahih al-Bukhari 4150
In-book reference : Book 64, Hadith 194
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 471
  (deprecated numbering scheme)