Sahih Muslim, Book 12, Hadith 105 (Muslim 2343)

Umair, the freed slave of Abi'l-Lahm reported:

I was the slave (of Abi'l-Lahm). I asked the Messenger of Allah (ﷺ) if I could give some charity out of my master's wealth. He said: Yes, and the reward is half and half between you two.