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."
Sahih al-Bukhari Book 41, Hadith 16