It is narrated from Asma bint Abi Bakr (may Allah be pleased with them) who said: My mother came to me during the time of the Quraysh and she was not a Muslim. I asked the Messenger of Allah (ﷺ) whether I should maintain ties of kinship with her. He (ﷺ) said: "Yes."
Hadith Referenceمسند الإمام الشافعي / كتاب صدقة التطوع والهبة وصلة الوالد والأخ المشرك / 1059
Hadith Takhrijاخرجه البخاري، الهبة، وفضلها، باب الهدية للمشركين (2620) ومسلم، الزكاة، باب فضل النفقة والصدقة على الأقربين.... الخ (1003)۔