The Prophet ﷺ said, "Children of Abdul-Muttalib, children of Hashim, ransom yourselves from Allah . I cannot avail you anything before Allah. Umm Zubayr, aunt of the Prophet ﷺ, Fatimah daughter of Muhammad, ransom yourselves from Allah. I cannot avail you anything before Allah. Ask me from my wealth whatever you wish."
حدثنا معاوية بن عمرو قال حدثنا زائدة قال حدثنا عبد الله بن ذكوان يكنى أبا الزناد عن عبد الرحمن الأعرج
قال النبي ﷺ يا بني عبد المطلب يا بني هاشم اشتروا أنفسكم من الله عز وجل لا أملك لكم من الله شيئا يا أم الزبير عمة النبي ﷺ يا فاطمة بنت محمد اشتروا أنفسكم من الله لا أملك لكم من الله شيئا سلاني من مالي ما شئتما
Its isnad is sahih. Bukhari reported it, 4/224, in "The Virtues," under "Whoever traces his lineage to his forefathers," and Muslim reported it under the verse "And warn your nearest kinsmen," and Nasai, 6/248, no. 3644, in "Bequests," under "If he bequeaths to his nearest kinsmen."