Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: Arqam al-Zuhri was appointed over the charities, and he asked Abu Rafi' to accompany him. So he came to the Messenger of Allah (peace and blessings be upon him) and asked him, and he said: "O Abu Rafi', charity is forbidden for the family of Muhammad, and the freed slave of a people is from among them."
The narration of Shu'bah from al-Hakam is more sound than the narration of Ibn Abi Layla; this Ibn Abi Layla had a poor memory and made many errors.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الصدقات / 13244