Abu Masud Uqba bin Amr reported,

When we were commanded to give charity, we used to hire ourselves out to earn something to contribute. Abu Aqeel came with half a saa, and another man came with more than that. The hypocrites said, "Allah has no need of this man's charity, and the other one only did what he did to show off." So the verse was revealed, "Those who criticize the believers who give charity voluntarily and ridicule those who find nothing to give except their meager efforts" [Tawbah 9:79].

Bukhari 4668

Sahih

حدثني بشر بن خالد أبو محمد أخبرنا محمد بن جعفر عن شعبة عن سليمان عن أبي وائل

عن أبي مسعود قال

لما أمرنا بالصدقة كنا نتحامل فجاء أبو عقيل بنصف صاع وجاء إنسان بأكثر منه فقال المنافقون إن الله لغني عن صدقة هذا وما فعل هذا الآخر إلا رئاء فنزلت {الذين يلمزون المطوعين من المؤمنين في الصدقات والذين لا يجدون إلا جهدهم} الآية

البخاري 4668صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
His saying, "Those who criticize the contributors among the believers"
Numbering
Darussalam 4668
Bukhari 4668