وَعَنْ اَلْبَرَاءِ بْنِ عَازِبٍ رَضِيَ اَللَّهُ عَنْهُمَا
قَالَ: «قَضَى رَسُولُ اَللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: أَنَّ حِفْظَ اَلْحَوَائِطِ بِالنَّهَارِ عَلَى أَهْلِهَا، وَأَنْ حِفْظَ اَلْمَاشِيَةِ بِاللَّيْلِ عَلَى أَهْلِهَا، وَأَنَّ عَلَى أَهْلِ اَلْمَاشِيَةِ مَا أَصَابَتْ مَاشِيَتُهُمْ بِاللَّيْلِ»
‘The Messenger of Allah (sallallahu alayhi wa sallam) ordained that the guarding of a garden is the responsibility of its owners during the day and the guarding of animals is the responsibility of their owners at night. However, the owners of the animals are responsible for any damage caused by their animals during the night (i.e. pay compensation for what they damaged of other’s property).’ Related by Ahmad and the four Imams except At-Tirmidhi. Ibn Hibban graded it as Sahih.