وعن أَبي عبد الله عمرو بن العاص رضي الله عنهم، قَالَ: سمعت رَسُول الله - صلى الله عليه وسلم - جِهَارًا غَيْرَ سِرٍّ، يَقُولُ: «إنَّ آل بَني فُلاَن لَيْسُوا بِأولِيَائِي، إِنَّمَا وَلِيِّيَ اللهُ وَصَالِحُ المُؤْمِنينَ، وَلَكِنْ لَهُمْ رَحِمٌ أبُلُّهَا بِبلاَلِهَا». مُتَّفَقٌ عَلَيهِ، واللفظ للبخاري.
It is narrated from Sayyiduna Abu Abdullah Amr bin al-As (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) say openly, not secretly: "Indeed, the family of so-and-so are not my friends; my friend is only Allah and the righteous believers. But they have (with me) ties of kinship, which I will keep moist with their moisture (that is, I will maintain ties with them)."
(Agreed upon, and this wording is al-Bukhari's)
Related hadith on this topic