Asma bint Abu Bakr reported,

My mother came to visit me while she was still a polytheist, during the period when Quraysh had a treaty with the Muslims. I sought the advice of the Messenger of Allah ﷺ, saying, "Messenger of Allah, my mother has come to me hoping for my kindness. Should I maintain ties with her?"He replied, "Yes, maintain ties with your mother."

Azami 14036

Sahih

عن أسماء بنت أبي بكر، قالت

قدمت علي أمي وهي مشركة في عهد قريش إذ عاهدهم فاستفتيت رسول الله ﷺ، فقلت: يا رسول الله، قدمت علي أمي وهي راغبة، أفأصل أمي؟ قال: نعم، صلي أمك.

الأعظمي 14036صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Righteousness and maintaining ties
Section
Command to maintain ties with parents even if they are polytheists
Numbering
Jami al-Kamil 14036 (2nd edition)
Azami 14036