Insulting Allah is one of the major sins. It is apostasy from Islam. Whoever does that should haste to repent, seek forgiveness (Part No. 2; Page No. 8) and do a lot of good deeds. If they sincerely repent to Allah, He will forgive them and their wives will be back again to them in marriage.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.