Jami` at-Tirmidhi, Book 15, Hadith 47 (Tirmidhi 1380)

Narrated Rafi' bin Khadij:

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."