Asma bint Abu Bakr reported,

My mother came to visit me while she was still a polytheist, during the time of the Messenger of Allah ﷺ. I sought guidance from the Messenger of Allah ﷺ, saying, "She has come hoping for my kindness. Should I maintain ties with my mother?"He replied, "Yes, maintain ties with your mother."In another narration, this occurred during the period of the treaty between Quraysh and the Messenger of Allah ﷺ.

Azami 4192

Sahih

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

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

الأعظمي 4192صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Zakat
Chapter
Expenditures
Section
Sila, kinship with the polytheist
Numbering
Jami al-Kamil 4192 (2nd edition)
Azami 4192