Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:17683Abū Naṣr ʿUmar b. ʿAbd al-ʿAzīz b. Qatādah > Abū al-Faḍl b. Khamīrawayh > Aḥmad b. Najdah > Saʿīd b. Manṣūr > Sufyān > al-Zuhrī > Saʿīd b. al-Musayyib And Ḥarām b. Saʿd b. Muḥayyiṣah

[Machine] A camel belonging to Bara'ah ibn 'Azib entered a garden of some of the Ansar and caused damage. They disputed and took the matter to the Messenger of Allah ﷺ . He ruled that the owners of the gardens are responsible for their protection during the day, and the owners of the livestock are responsible for the damage caused by the livestock during the night. It was narrated from Ash-Sha'bi from Shurayh that he used to guarantee compensation for damage caused by sheep during the night but not during the day. He interpreted this verse: "And [mention] David and Solomon, when they judged concerning the field – when the sheep of a people overran it [at night]" and he used to say that the word "overran" refers to the night.  

البيهقي:١٧٦٨٣أَخْبَرَنَا أَبُو نَصْرٍ عُمَرُ بْنُ عَبْدِ الْعَزِيزِ بْنِ قَتَادَةَ أنبأ أَبُو الْفَضْلِ بْنُ خَمِيرَوَيْهِ أنبأ أَحْمَدُ بْنُ نَجْدَةَ ثنا سَعِيدُ بْنُ مَنْصُورٍ ثنا سُفْيَانُ عَنِ الزُّهْرِيِّ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ وَحَرَامِ بْنِ سَعْدِ بْنِ مُحَيِّصَةَ

أَنَّ نَاقَةً لِلْبَرَاءِ بْنِ عَازِبٍ دَخَلَتْ حَائِطًا لِقَوْمٍ مِنَ الْأَنْصَارِ فَأَفْسَدَتْ فَاخْتَصَمُوا إِلَى رَسُولِ اللهِ ﷺ فَقَضَى أَنَّ حِفْظَ الْحَوَائِطِ عَلَى أَهْلِهَا بِالنَّهَارِ وَعَلَى أَهْلِ الْمَوَاشِي مَا أَفْسَدَتِ الْمَوَاشِي بِاللَّيْلِ وَرُوِّينَا عَنِ الشَّعْبِيِّ عَنْ شُرَيْحٍ أَنَّهُ كَانَ يَضْمَنُ مَا أَفْسَدَتِ الْغَنَمُ بِاللَّيْلِ وَلَا يَضْمَنُ مَا أَفْسَدَتْ بِالنَّهَارِ وَيَتَأَوَّلُ هَذِهِ الْآيَةَ {وَدَاوُدَ وَسُلَيْمَانَ إِذْ يَحْكُمَانِ فِي الْحَرْثِ إِذْ نَفَشَتْ فِيهِ غَنَمُ الْقَوْمِ} وَكَانَ يَقُولُ النَّفْشُ بِاللَّيْلِ