عَنْ حَرَامِ بْنِ مُحَيِّصَةَ عَنْ أَبِيهِ رَضِيَ اللَّهُ عَنْهُ أَنَّ نَاقَةً لِلْبَرَاءِ دَخَلَتْ حَائِطًا فَأَفْسَدَتْ فَقَضَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ عَلَى أَهْلِ الْأَمْوَالِ حِفْظُهَا بِالنَّهَارِ وَعَلَى أَهْلِ الْمَوَاشِي حِفْظُهَا بِاللَّيْلِ
Haram bin Muhayyisa narrates from his father that when the she-camel of Sayyiduna Bara’ (may Allah be pleased with him) entered a garden and caused damage, the Messenger of Allah (peace and blessings be upon him) decided that during the day, it is the responsibility of the owners of property (such as gardens, etc.) to protect their property, and during the night, it is the responsibility of the owners of the cattle to protect them.