Sayyiduna Rafi' bin Amr (may Allah be pleased with him) said: I was throwing stones at the date palms of the Ansar. They seized me, took me to the Messenger of Allah (peace and blessings be upon him) and said: This one was throwing stones at our date palms. He (peace and blessings be upon him) asked: "O Rafi', why were you throwing stones at their date palms?" I said: O Messenger of Allah, I was hungry. He (peace and blessings be upon him) said: "Do not throw stones; rather, eat what has fallen down. May Allah satisfy your hunger and quench your thirst."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19662