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:12116Abū Ḥāzim > Abū al-Faḍl > Aḥmad > Saʿīd b. Manṣūr > Khālid > Muṭarrif

[Machine] Al-Sha'bi said: This has been settled. If he irrigates it with a spring and water and security, then its companion has more right to it. And if he irrigates it with a canal and fright, then the one who took it has more right to it.  

البيهقي:١٢١١٦وَأَخْبَرَنَا أَبُو حَازِمٍ أنبأ أَبُو الْفَضْلِ أنبأ أَحْمَدُ ثنا سَعِيدُ بْنُ مَنْصُورٍ ثنا خَالِدٌ ثنا مُطَرِّفٌ عَنِ الشَّعْبِيِّ فِي رَجُلٍ سَيَّبَ دَابَّتَهُ فَأَخَذَهَا رَجُلٌ فَأَصْلَحَهَا قَالَ

قَالَ الشَّعْبِيُّ هَذَا قَدْ قُضِيَ فِيهِ إِنْ كَانَ سَيَّبَهَا فِي كَلَأٍ وَمَاءٍ وَأَمْنٍ فَصَاحِبُهَا أَحَقُّ بِهَا وَإِنْ كَانَ سَيَّبَهَا فِي مَفَازَةٍ وَمَخَافَةٍ فَالَّذِي أَخَذَهَا أَحَقُّ بِهَا