(56) باب الْمَوَاشِي تُفْسِدُ زَرْعَ قَوْمٍ
Narrated Al-Bara' ibn Azib:
Al-Bara' had a she-camel which was accustomed to graze the standing crop belonging to the people. She entered a garden and did damage to it. The Messenger of Allah (ﷺ) was informed about it. So he gave decision that the owners of gardens are responsible for guarding them by day, and the owners of the animals are responsible for guarding them by night. Any damage done by animals during the night is a responsibility lying on their owners.
Reference: Sunan Abi Dawud 3570
In-book reference: Book 24, Hadith 155
English translation: Book 23, Hadith 3563