My mother came to me during the time of the Quraysh treaty, hostile and a polytheist. I said, "Messenger of Allah, my mother has come to me, hostile and a polytheist. Shall I maintain ties with her?"He replied, "Yes, maintain ties with your mother."
حدثنا أحمد بن أبي شعيب الحراني حدثنا عيسى بن يونس حدثنا هشام بن عروة عن أبيه
قدمت علي أمي راغبة في عهد قريش وهي راغمة مشركة فقلت يا رسول الله إن أمي قدمت علي وهي راغمة مشركة أفأصلها قال نعم فصلي أمك
Bukhari transmitted it in the Book of Gifts and their Merit, etc., Chapter on Gifting to Polytheists, hadith 2620, and Muslim in the Book of Zakat, Chapter on the Merit of Spending and Giving Charity to Relatives, etc., hadith 1003, from the hadith of Hisham bin Urwa, through this same chain.