indeed allah does not forgive that any partner should be ascribed to him but he forgives anything besides that to whomever he wishes. and whoever ascribes partners to allah has certainly strayed into far error.
إن الله لا يغفر أن يشرك به ويغفر ما دون ذلك لمن يشاء ومن يشرك بالله فقد ضل ضلالا بعيدا