Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "No one should milk another person's livestock without his permission. Would any of you like for someone to come to his storeroom, break open his cupboard, and carry off his food? The udders of their livestock store their food for them, so no one should milk another person's livestock except with his permission."

Azami 5485

Sahih

عن عبد الله بن عمر

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

الأعظمي 5485صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Rulings on sales and trade
Section
Prohibition of milking someone else's livestock without his permission
Numbering
Jami al-Kamil 5485 (2nd edition)
Azami 5485