Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:26:216

And if they disobey you, then say, "Indeed, I am disassociated from what you are doing."  

But if they, your kinsfolk, disobey you, say, to them: ‘I am absolved of what you do’, in worshipping ˹gods˺ other than God.
القرآن:٢٦:٢١٦

فَإِنْ عَصَوْكَ فَقُلْ إِنِّي بَرِيءٌ مِمَّا تَعْمَلُونَ  

{فإن عصوك} عشيرتك {فقل} لهم {إني بريء مما تعملون} من عبادة غير الله.