This commentary covers verses 47:32 to 47:35.
Nullifying the Disbelievers' Deeds and the Command to chase Them
Allah then informs about those who disbelieve, obstruct others from the path of Allah, oppose the Messenger and contend with him, and revert from the faith after guidance has become clear to them. He indicates that those people can never harm Allah in the least, and rather they only harm themselves and become losers on the Day of Resurrection. He will nullify their deeds. Allah will not reward them even the weight of a mosquito (i.e., the smallest thing) for any good that they did before their apostasy, but would instead totally invalidate and destroy it. Their apostasy wipes away their good deeds entirely, just as the good deeds would normally wipe away the evil deeds. Imam Ahmad Ibn Nasr Al-Marwazi reported in Kitab As-Salah (the Book of Prayer) that Abu Al-`Aliyah said, "The Prophet's Companions used to think that no sin would harm a person who says `La ilaha illallah,' just as no good deed would benefit a person who joins partners with Allah. So Allah revealed,
أَطِيعُواْ اللَّهَ وَأَطِيعُواْ الرَّسُولَ وَلاَ تُبْطِلُواْ أَعْمَـلَكُمْ
(Obey Allah and obey the Messenger and do not invalidate your deeds.) This made them fear that some sins could nullify their deeds." It has also been reported from Ibn `Umar, may Allah be pleased with him, that he said, "We, the Companions of Allah's Messenger ﷺ, used to think that good deeds would all be accepted, until Allah revealed,
أَطِيعُواْ اللَّهَ وَأَطِيعُواْ الرَّسُولَ وَلاَ تُبْطِلُواْ أَعْمَـلَكُمْ
(Obey Allah and obey the Messenger and do not invalidate your deeds. ) So we asked each other: `What is it that can nullify our deeds' So we said, `The major sins, great offenses that require admission into the Fire and immoral sins.' But then Allah revealed,
إِنَّ اللَّهَ لاَ يَغْفِرُ أَن يُشْرَكَ بِهِ وَيَغْفِرُ مَا دُونَ ذَلِكَ لِمَن يَشَآءُ
(Verily, Allah does not forgive joining partners with Him in worship, but He forgives except that to whom He wills.) (4:48) After this was revealed, we ceased saying that. We thereafter continued to fear for those who committed great sins and immoral sins and to have hope for those who did not." Then, Allah commands His believing servants to obey Him and His Messenger , which would result in their happiness in this worldly life and the Hereafter. He also prohibits them from apostasy, because that would result in the nullification of their deeds. Thus He says,
وَلاَ تُبْطِلُواْ أَعْمَـلَكُمْ
(and do not invalidate your deeds.) meaning, by apostasy. Thus, Allah says after this,
إِنَّ الَّذِينَ كَفَرُواْ وَصَدُّواْ عَن سَبِيلِ اللَّهِ ثُمَّ مَاتُواْ وَهُمْ كُفَّارٌ فَلَن يَغْفِرَ اللَّهُ لَهُمْ
(Verily, those who disbelieved and obstructed others from the path of Allah and then died as disbelievers -- never will Allah forgive them.) This is similar to His saying,
إِنَّ اللَّهَ لاَ يَغْفِرُ أَن يُشْرَكَ بِهِ وَيَغْفِرُ مَا دُونَ ذ…