Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:1289Qutaybah > al-Layth > Ibn ʿAjlān > ʿAmr b. Shuʿayb from his father from his grandfather

From his father, from his grandfather, that the Prophet ﷺ was asked about hanging fruits (on the trees), so he said: "Whoever is in need and picks some of it without taking any in his garment, then there is no sin upon him."  

[Abu 'Eisa said:] This Hadith is Hasan Sahih.
الترمذي:١٢٨٩حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا اللَّيْثُ عَنِ ابْنِ عَجْلاَنَ عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ

أَنَّ النَّبِيَّ ﷺ سُئِلَ عَنِ الثَّمَرِ الْمُعَلَّقِ فَقَالَ مَنْ أَصَابَ مِنْهُ مِنْ ذِي حَاجَةٍ غَيْرَ مُتَّخِذٍ خُبْنَةً فَلاَ شَىْءَ عَلَيْهِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ