Umar bin Khattab appointed me to collect the zakat. When I finished the task and delivered the proceeds 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 to do so. I said the same thing you are saying, 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.'"
حدثنا قتيبة بن سعيد حدثنا ليث عن بكير عن بسر بن سعيد
استعملني عمر بن الخطاب رضي الله عنه على الصدقة فلما فرغت منها وأديتها إليه أمر لي بعمالة فقلت إنما عملت لله وأجري على الله فقال خذ ما أعطيت فإني عملت على عهد رسول الله ﷺ فعملني فقلت مثل قولك فقال لي رسول الله ﷺ إذا أعطيت شيئا من غير أن تسأل فكل وتصدق