Arabic hadith text
حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، عَنْ حَرَامِ بْنِ سَعْدِ بْنِ مُحَيِّصَةَ، أَنَّ نَاقَةً، لِلْبَرَاءِ بْنِ عَازِبٍ دَخَلَتْ حَائِطَ رَجُلٍ فَأَفْسَدَتْ فِيهِ فَقَضَى رَسُولُ اللَّهِ صلى الله عليه وسلم أَنَّ عَلَى أَهْلِ الْحَوَائِطِ حِفْظَهَا بِالنَّهَارِ وَأَنَّ مَا أَفْسَدَتِ الْمَوَاشِي بِاللَّيْلِ ضَامِنٌ عَلَى أَهْلِهَا ‏.‏
Translation

Yahya related to me from Malik from Ibn Shihab from Haram ibn Sadibn Muhayyisa that a female camel of al-Bara ibn Azib entered thegarden of a man and it did some damage to it. The Messenger of Allah,may Allah bless him and grant him peace, gave a judgement that thepeople of the garden were responsible for guarding it in the day, andthe owner of the animals was liable for what the animals destroyed atnight.