Qays bin Numan reported,

When the Prophet ﷺ and Abu Bakr set out in secret, they passed by a slave who was tending sheep, and they asked him for some milk. He replied, "I have no ewe that gives milk, except that there is a young she-goat here that conceived at the beginning of winter and miscarried, and no milk remains in her."The Prophet ﷺ said, "Bring her to me."So he brought her, and the Prophet ﷺ took hold of her, wiped her udder, and prayed until she let down her milk. Abu Bakr brought a hollow vessel, and the Prophet ﷺ milked her and gave Abu Bakr to drink. Then he milked her again and gave the shepherd to drink. Then he milked her once more and drank himself.The shepherd said, "By Allah, who are you? By Allah, I have never seen anyone like you."He said, "Will you keep my secret if I tell you?"The shepherd replied, "Yes."He said, "I am Muhammad, the Messenger of Allah."The shepherd said, "Are you the one whom the Quraysh claim is an apostate?"He answered, "They do say that."The shepherd said, "I bear witness that you are a prophet, and I bear witness that what you have brought is the truth, and that no one could do what you have done except a prophet. I will follow you."He said, "You will not be able to do that today. When you hear that I have prevailed, then come to us."

Azami 8677

Sahih

عن قيس بن النعمان قال

لما انطلق النبي ﷺ وأبو بكر مستخفين مرا بعبد يرعى غنما فاستسقياه اللبن، فقال: ما عندي شاة تحلب غير أن هاهنا عناقا حملت أول الشتاء، وقد أخدجت وما بقى لها لبن، فقال: ادع بها، فدعا بها، فأعتقلها النبي ﷺ ومسح ضرعها، ودعا حتى أنزلت. وجاء أبو بكر بمجن فحلب، فسقى أبا بكر، ثم حلب فسقى الراعي، ثم حلب فشرب فقال الراعي، بالله من أنت؟ فوالله ما رأيت مثلك قط؟ قال: أتكتم علي حتى أخبرك؟ قال: نعم، قال: فإني محمد رسول الله فقال: أنت الذي تزعم قريش أنه صابئ، قال: إنهم ليقولون ذلك، قال: فأشهد أنك نبي، وأشهد أن ما جئت به حق، وأنه لا يفعل ما فعلت إلا نبي وأنا متبعك قال: إنك لن تستطيع ذلك يومك فإذا بلغك أني قد ظهرت فأتنا.

الأعظمي 8677صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Emigration of the Prophet ﷺ and his companions from Makkah to Madinah
Section
Milking a sheep on the road for the Prophet ﷺ
Numbering
Jami al-Kamil 8677 (2nd edition)
Azami 8677