Sayyiduna al-Bara' bin Azib (may Allah be pleased with him) narrates: We were travelling with the Prophet (peace and blessings be upon him) when we came to a well in which there was little water. The narrator says: Six people went down into it, and I was the sixth of them; the well was dry. The narrator says: A bucket was lowered to us, and the Prophet (peace and blessings be upon him) was at the edge of that well. The narrator says: We filled that bucket half, or close to two thirds, then the bucket was lifted and taken to the Prophet (peace and blessings be upon him). Sayyiduna al-Bara' (may Allah be pleased with him) says: I tried with my vessel, wishing I could find something to pour down my throat, but I found nothing. That bucket was raised to the Prophet (peace and blessings be upon him). The Prophet (peace and blessings be upon him) dipped his hand into it, then recited whatever Allah willed, then the bucket was sent back to us along with the water that was in it. The narrator says: Then I saw that the last of us to come out was pulled out by his garment, for fear that he might drown in it. The narrator says: That is, water then gushed forth from there; that is, it flowed like a river. (Allamah al-Haythami says:) I say: This narration is mentioned in the Sahih in a greatly abridged form, concerning the expedition of al-Hudaybiyah.
Ahmad and al-Tabarani recorded it, and the narrators of both of them are the narrators of the Sahih.