Barirah was given something as charity, and the Messenger of Allah ﷺ said, "It is charity for her, but a gift for us."
حدثنا يحيى بن سعيد حدثنا شعبة عن قتادة
أن بريرة تصدق عليها بصدقة فقال رسول الله ﷺ هو لها صدقة ولنا هدية
Its chain of transmission is sahih.