The Messenger of Allah ﷺ said, "Whoever brings dead land to life, it belongs to him, and no right belongs to an unjust encroachment."The narrator said, The man who related this hadith to me told me that two men brought a dispute before the Messenger of Allah ﷺ. One of them had planted palm trees in the other's land. The Prophet ﷺ ruled that the land belonged to its owner and ordered the owner of the palms to remove his trees from it.He said, I actually saw those palms, and their trunks were being struck with axes, though they were tall, fully grown palms, until they were uprooted from the land.
حدثنا هناد بن السري حدثنا عبدة عن محمد يعني ابن إسحق عن يحيى بن عروة عن أبيه أن رسول الله ﷺ قال من أحيا أرضا ميتة فهي له وذكر مثله قال فلقد خبرني الذي حدثني هذا الحديث أن رجلين اختصما إلى رسول الله ﷺ غرس أحدهما نخلا في أرض الآخر فقضى لصاحب الأرض بأرضه وأمر صاحب النخل أن يخرج نخله منها قال فلقد رأيتها وإنها لتضرب أصولها بالفؤوس وإنها لنخل عم حتى أخرجت منها
Graded, its chain is daif. Ibn Abdul-Barr reported it in Tamhid 22/282, from the hadith of Abu Dawud, by this route. Its basis is found in Nasai's Kubra, no. 5760. Muhammad bin Ishaq is a mudallis and narrated with an ambiguous transmission formula, but the preceding hadith, no. 3073, serves in its place.