Lady Aisha (may Allah be pleased with her) narrates that the Messenger of Allah (peace and blessings be upon him) came to me and food was presented to him which did not have any meat with it. So he asked: "Did I not see your pot? (in which meat was being cooked)" I replied that indeed you did see it, but that meat was given as charity to Sayyidah Barirah (may Allah be pleased with her). The Prophet (peace and blessings be upon him) said: "That is charity for her, and for us it is a gift from Barirah. (So bring it. There is no harm in eating it.)"
Benefits: ➊ If a poor or needy person gives the wealth of charity and alms as a gift to a wealthy and rich person, it is permissible for the wealthy person to accept such a gift, and there is no harm in using such a gift.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 2449