It is narrated from Hazrat Asma that once my mother came during the time of the treaty with the Quraysh. At that time, she was a polytheist and in need. I asked the Prophet (peace be upon him), "Can I maintain ties of kinship with her?" The Prophet (peace be upon him) said, "Yes, maintain ties of kinship with your mother."