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:11742[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Saʿīd b. Abū ʿAmr Waʾabū Ṣādiq b. Abū al-Fawāris > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Ḥasan b. ʿAlī b. ʿAffān > Yaḥyá b. Ādam > Sharīk [Chain 2] Abū Bakr b. Isḥāq > al-ʿAbbās b. al-Faḍl al-Asfāṭī > Abū al-Walīd > Sharīk > Abū Isḥāq > ʿAṭāʾ > Rāfiʿ b. Khadīj

[Machine] The Messenger of Allah ﷺ said, "Whoever plants in the land of a people without their permission, then he has no right to the crops and his expenses will be reimbursed to him." This wording is from the hadith of Abu Al-Walid, and in another narration from Yahya ibn Adam, he said, "It is lifted for him and he has the right to his expenses, but he has no right to the crops." And Abu Abdullah Al-Hafiz, Abu Saeed ibn Abi Amr, and Abu Sadiq Al-Atar informed us, they said: Abu Al-Abbas informed us, who was informed by Al-Hasan, who was informed by Yahya ibn Adam, who was informed by Qais ibn Al-Rabi from Abu Ishaq from Ata from Rifa'a ibn Khadeej who said, The Messenger of Allah ﷺ said something similar.  

البيهقي:١١٧٤٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو وَأَبُو صَادِقِ بْنُ أَبِي الْفَوَارِسِ قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا الْحَسَنُ بْنُ عَلِيِّ بْنِ عَفَّانَ ثنا يَحْيَى بْنُ آدَمَ ثنا شَرِيكٌ ح وَأنبأ أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ الْمُزَكِّي ثنا أَبُو بَكْرِ بْنُ إِسْحَاقَ ثنا الْعَبَّاسُ بْنُ الْفَضْلِ الْأَسْفَاطِيُّ ثنا أَبُو الْوَلِيدِ ثنا شَرِيكٌ عَنْ أَبِي إِسْحَاقَ عَنْ عَطَاءٍ عَنْ رَافِعِ بْنِ خَدِيجٍ قَالَ

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