Ibn Saadi reported,

Umar رضي الله عنه appointed me to collect the zakat. When I had finished and handed it over to him, he ordered that I be given a payment for my work.I said, "I only did the work for the sake of Allah, and my reward is with Allah."He replied, "Take what you are given. I myself worked in this capacity during the time of the Messenger of Allah ﷺ, and he assigned me payment. I said the same thing you have just said, and the Messenger of Allah ﷺ told me, 'When you are given something without having asked for it, then eat from it and give in charity.'"

Abu Dawud 1647

Sahih

حدثنا أبو الوليد الطيالسي حدثنا الليث عن بكير بن عبد الله بن الأشج عن بسر بن سعيد

عن ابن الساعدي قال

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

أبو داود 1647صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Zakat
Chapter
Seeking self-sufficiency
Numbering
Darussalam 1647
Abu Dawud 1647