The Messenger of Allah ﷺ said, when the verse "And warn your closest kinsmen" [Shuara 26:214] was revealed to him, "People of Quraysh, ransom yourselves from Allah, for I cannot avail you anything against Allah. Sons of Abdul-Muttalib, I cannot avail you anything against Allah. Abbas bin Abdul-Muttalib, I cannot avail you anything against Allah. Safiyyah, aunt of the Messenger of Allah ﷺ, I cannot avail you anything against Allah. Fatimah, daughter of the Messenger of Allah ﷺ, ask me for whatever you wish, but I cannot avail you anything against Allah."
قال رسول الله ﷺ حين أنزل عليه {وأنذر عشيرتك الأقربين}[الشعراء: ٢١٤]: يا معشر قريش! اشتروا أنفسكم من الله، لا أغني عنكم من الله شيئا. يا بني عبد المطلب! لا أغني عنكم من الله شيئا. يا عباس بن عبد المطلب! لا أغني عنك من الله شيئا يا صفية عمة رسول الله ﷺ! أغني عنك من الله شيئا. يا فاطمة بنت رسول الله ﷺ! سليني بما شئت، لا أغني عنك من الله شيئا.
Bukhari related it in the Book of Wills (2753), and Muslim in the Book of Faith (206), both from the hadith of Zuhri, who said, Saeed bin Musayab and Abu Salama bin Abdul-Rahman told me, from Abu Hurairah, and he mentioned it.