The she-camel of Bara' ibn Azib entered the garden of a man and did damage to it. The Messenger of Allah ﷺ gave decision that the owners of properties are responsible for guarding them by day, and the owners of animals are responsible for guarding them by night. (Using translation from Abū Dāʾūd 3569)
«أَنَّ نَاقَةً لِلْبَرَاءِ بْنِ عَازِبٍ دَخَلَتْ حَائِطَ رَجُلٍ فَأَفْسَدَتْ فِيهِ فَقَضَى رَسُولُ اللهِ ﷺ أَنَّ عَلَى أَهْلِ الْأَمْوَالِ حِفْظَهَا بِالنَّهَارِ وَعَلَى أَهْلِ الْمَوَاشِي حِفْظَهَا بِاللَّيْلِ»