Abu Masud Uqba bin Amr reported,

When the Messenger of Allah ﷺ commanded us to give in charity, Abu Aqeel donated half a saa, and another man brought something much greater than that. The hypocrites remarked, "Allah عز وجل has no need of this man's charity, and the other one only did what he did to be seen by people." So this verse was revealed, "Those who criticize the believers who give charity voluntarily and ridicule those who find nothing to give except their meager effort" [Tawbah 9:79].

Nasai 2531

Sahih

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

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

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

النسائي 2531صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Zakat
Chapter
Effort of the one with little means
Numbering
Darussalam 2531
Nasai 2531