Abu Saeed Khudri reported,

The Messenger of Allah ﷺ stood on the pulpit and said, "What I fear most for you after I am gone is the worldly bounty that will be opened up to you from the earth." He then mentioned the allure of this world, beginning with one matter and following it with another.A man stood up and asked, "Messenger of Allah, can good bring forth evil?"The Prophet ﷺ remained silent. We thought revelation was descending upon him, and the people fell still as though birds were perched upon their heads.Then he wiped the sweat from his face and asked, "Where is the one who asked just now?"The man replied that good was indeed what he had asked about.The Prophet ﷺ said, "Good brings forth nothing but good. But truly, among what the spring growth produces is that which kills by bloating, or nearly so, except for the grazer of green herbs. It eats until, when its flanks are full, it faces the sun, passes its dung and urine, then returns to graze again.This wealth is sweet and green. What an excellent companion it is for the Muslim who takes it rightfully and spends it in the path of Allah, on orphans, the poor, and the wayfarer. But whoever takes it without right is like the one who eats and is never satisfied, and it will bear witness against him on the Day of Resurrection."

Bukhari 2842

Sahih

حدثنا محمد بن سنان حدثنا فليح حدثنا هلال عن عطاء بن يسار

عن أبي سعيد الخدري رضي الله عنه

أن رسول الله ﷺ قام على المنبر فقال إنما أخشى عليكم من بعدي ما يفتح عليكم من بركات الأرض ثم ذكر زهرة الدنيا فبدأ بإحداهما وثنى بالأخرى فقام رجل فقال يا رسول الله أويأتي الخير بالشر فسكت عنه النبي ﷺ قلنا يوحى إليه وسكت الناس كأن على رءوسهم الطير ثم إنه مسح عن وجهه الرحضاء فقال أين السائل آنفا أوخير هو ثلاثا إن الخير لا يأتي إلا بالخير وإنه كلما ينبت الربيع ما يقتل حبطا أو يلم إلا آكلة الخضر كلما أكلت حتى إذا امتلأت خاصرتاها استقبلت الشمس فثلطت وبالت ثم رتعت وإن هذا المال خضرة حلوة ونعم صاحب المسلم لمن أخذه بحقه فجعله في سبيل الله واليتامى والمساكين وابن السبيل ومن لم يأخذه بحقه فهو كالآكل الذي لا يشبع ويكون عليه شهيدا يوم القيامة

البخاري 2842صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Virtue of spending in the cause of Allah
Numbering
Darussalam 2842
Bukhari 2842