In the Quran, it is mentioned that God does not forgive the Shirk (without repentance) but He may forgive every other sin for whomsoever He wills.
Ka warran kuwa la siiyey Qayb Kitaabka ah (Tawreed) oo Gadan Baadi doonina inaad ka Dhuntaan Jidka.