Umayr reported,

My master used to give me something and I would feed others from it, so he forbade me, or he said, he struck me. I asked the Prophet ﷺ, or someone else asked him, and I said, "I will not stop," or "I will not leave it."He said, "The reward is shared between the two of you."

Ibn Majah 2297

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا حفص بن غياث عن محمد بن زيد

عن عمير مولى آبي اللحم قال

كان مولاي يعطيني الشيء فأطعم منه فمنعني أو قال فضربني فسألت النبي ﷺ أو سأله فقلت لا أنتهي أو لا أدعه فقال الأجر بينكما

ابن ماجه 2297صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Trade
Chapter
What a slave may give and donate
Numbering
Darussalam 2297
Ibn Majah 2297