Ibn Taymiyyah said:
"Indeed, Allah forgives the servant for any sin he repents from. So, whoever repents from Shirk then Allah will forgive him and whoever repents from the kabā'ir (major sins), then Allah will forgive him.
Majmū' Al-Fatāwā [11/185]
فإن الله يغفر للعبد أيّ ذنب تاب منه ،
فمن تاب من الشرك غفر الله له ،
ومن تاب من الكبائر غفر الله له .
~
مجموع الفتاوى [١٨٥/١١]