Riyad as-Salihin

Abu Abdullah 'Amr bin Al-'as (May Allah be pleased with them) said: I heard Messenger of Allah (ﷺ) saying openly not secretly, "The family of so-and-so (i.e., Abu Talib) are not my supporters. My supporter is Allah and the righteous believing people. But they (that family) have kinship (Rahm) with whom I will maintain good the ties of kinship".

[Al-Bukhari and Muslim].

- وعن أبي عبد الله عمرو بن العاص رضي الله عنهما قال‏:‏ سمعت رسول الله صلى الله عليه وسلم جهارًا غير سر يقول‏:‏ ‏"‏إن آل بني فلان ليسوا بأوليائي، إنما وليي الله وصالح المؤمنين، ولكن لهم رحم أبلها ببلالها‏"‏ ‏(‏‏(‏متفق عليه‏.‏ واللفظ البخاري‏)‏‏)‏‏.‏