The Messenger of Allah ﷺ said, "Allah does not accept any deed from a polytheist who associates partners with Him after having embraced Islam, until he separates from the polytheists and joins the Muslims."
حدثنا أبو بكر بن أبي شيبة حدثنا أبو أسامة
قال رسول الله ﷺ لا يقبل الله من مشرك أشرك بعد ما أسلم عملا حتى يفارق المشركين إلى المسلمين