indeed allah does not forgive that partners should be ascribed to him but he forgives anything besides that to whomever he wishes. whoever ascribes partners to allah has indeed fabricated in great sinfulness.
إن الله لا يغفر أن يشرك به ويغفر ما دون ذلك لمن يشاء ومن يشرك بالله فقد افترى إثما عظيما