All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
The basic principle is that it is impermissible to take the wealth of a Muslim except with his consent. Allah, the Exalted, says (what means): {And do not consume one another's wealth unjustly ...} [Quran 2:188] Moreover, the Prophet, sallallaahu ‘alayhi wa sallam, said, "The property of a Muslim is unlawful to others except if he gives it willingly." [Al-Albaani graded it saheeh (sound)]
Hence, it is prohibited to take the fruits dangling from the neighbor's tree except with his permission. Please refer to fatwa 90231.
Allah knows best.