Jami` at-Tirmidhi, Book 14, Hadith 90 (In-Book)

Narrated Rafi' bin 'Amr: "I was throwing stones at a date-palm belonging to some of the Ansar. They took me along with them to the Prophet. He said: "O Rafi'! Why were you throwing stones at their date-palm?'" He said: "I said: 'Out of hunger, O Messenger of Allah! He said: 'Do not throw stones at them, eat what falls. May Allah fill you and quench your thirst.'" This Hadith is Hasan Gharib Sahih.

حَدَّثَنَا أَبُو عَمَّارٍ الْحُسَيْنُ بْنُ حُرَيْثٍ الْخُزَاعِيُّ، حَدَّثَنَا الْفَضْلُ بْنُ مُوسَى، عَنْ صَالِحِ بْنِ أَبِي جُبَيْرٍ، عَنْ أَبِيهِ، عَنْ رَافِعِ بْنِ عَمْرٍو، قَالَ كُنْتُ أَرْمِي نَخْلَ الأَنْصَارِ فَأَخَذُونِي فَذَهَبُوا بِي إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ ‏"‏ يَا رَافِعُ لِمَ تَرْمِي نَخْلَهُمْ ‏"‏ ‏.‏ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ الْجُوعُ ‏.‏ قَالَ ‏"‏ لاَ تَرْمِ وَكُلْ مَا وَقَعَ أَشْبَعَكَ اللَّهُ وَأَرْوَاكَ ‏"‏ ‏.‏ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ ‏.‏

sunnah.com