Authentic Sahih al-Bukhari 2335 The Prophet (ﷺ) said, "He who cultivates land that does not belong to anybody is more rightful (to own it)." `Urwa said, "`Umar gave the same verdict in his Caliphate." مَنْ أَعْمَرَ أَرْضًا لَيْسَتْ لأَحَدٍ فَهْوَ أَحَقُّ " Narrated by Ā’ishah + 3 other versions
Authentic Sunan Abu Dawud 3073 The Prophet (ﷺ) said: If anyone brings barren land into cultivation, it belongs to him, and the unjust vein has no right. مَنْ أَحْيَا أَرْضًا مَيْتَةً فَهِيَ لَهُ وَلَيْسَ لِعِرْقٍ ظَالِمٍ حَقٌّ " . Narrated by Sa‘īd ibn Zayd + 5 other versions