that the Prophet (ﷺ) said: "Whoever farms a people's land without their permission, then nothing he farms belongs to him and its finances are due to him."
Jami` at-Tirmidhi Book 15, Hadith 47