The Noble Verse
وَلَا تُصَلِّ عَلَى أَحَدٍ مِنْهُمْ مَاتَ أَبَدًا وَلَا تَقُمْ عَلَى قَبْرِهِ إِنَّهُمْ كَفَرُوا بِاللَّهِ وَرَسُولِهِ وَمَاتُوا وَهُمْ فَاسِقُونَ
[التوبة: 84]
Simple Translation
And never pray (the funeral prayer) over any of them who dies, nor stand at his grave;[1] indeed, they disbelieved in Allah and His Messenger and died while they were defiantly disobedient. [2]
Brief Tafsir
[1] Although this verse was revealed concerning ʿAbdullāh ibn Ubayy, the chief of the hypocrites, its ruling is general: everyone who dies upon disbelief and hypocrisy is included in it.
The reason for the revelation of this verse is that when ʿAbdullāh ibn Ubayy died, his son ʿAbdullāh (who was a Muslim and had the same name as his father) came to the Messenger (ﷺ) and said: Give me your shirt (as a blessing) so that I may shroud my father in it, and also lead his funeral prayer. The Great Prophet (ﷺ) gave him his shirt and also came to lead his funeral prayer.
ʿUmar (raḍiyallāhu ʿanhu) said to the Prophet (ﷺ): ‘Allah, the Exalted, has forbidden praying over such a person; why then would you supplicate for his forgiveness?’ He said: “Allah, the Exalted, has given me the choice—that is, He has not forbidden me. Allah, the Exalted, said: ‘Even if you ask forgiveness for them seventy times, Allah will never forgive them.’ I will ask forgiveness for him more than seventy times.” So he led his funeral prayer. Allah, the Exalted, immediately revealed this verse, saying that in future no supplication for forgiveness may be made for the hypocrites under any circumstances. (al-Bukhārī, tafsir of Surah Barāʾah; Muslim, description of the hypocrites)
[2] This was a specific reason for the prohibition of the funeral prayer and seeking forgiveness. It means that those who die upon disbelief, shirk and hypocrisy are not to be given the funeral prayer, nor is it permissible to seek forgiveness for them. One hadith even states that when the Prophet (ﷺ) reached the graveyard, it was learned that ʿAbdullāh ibn Ubayy had already been buried. He then ordered him to be taken out of the grave, placed him on his knees, blew his (blessed) saliva on him, and clothed him in his shirt. (al-Bukhārī: Book of Funerals, chapter on wearing the shirt; Muslim: chapter on the evil traits of the hypocrites)
But none of this benefited him. From this we learn that for one deprived of faith, the supplications for forgiveness and intercession of even the world’s greatest personalities will be of no benefit.
The reason for the revelation of this verse is that when ʿAbdullāh ibn Ubayy died, his son ʿAbdullāh (who was a Muslim and had the same name as his father) came to the Messenger (ﷺ) and said: Give me your shirt (as a blessing) so that I may shroud my father in it, and also lead his funeral prayer. The Great Prophet (ﷺ) gave him his shirt and also came to lead his funeral prayer.
ʿUmar (raḍiyallāhu ʿanhu) said to the Prophet (ﷺ): ‘Allah, the Exalted, has forbidden praying over such a person; why then would you supplicate for his forgiveness?’ He said: “Allah, the Exalted, has given me the choice—that is, He has not forbidden me. Allah, the Exalted, said: ‘Even if you ask forgiveness for them seventy times, Allah will never forgive them.’ I will ask forgiveness for him more than seventy times.” So he led his funeral prayer. Allah, the Exalted, immediately revealed this verse, saying that in future no supplication for forgiveness may be made for the hypocrites under any circumstances. (al-Bukhārī, tafsir of Surah Barāʾah; Muslim, description of the hypocrites)
[2] This was a specific reason for the prohibition of the funeral prayer and seeking forgiveness. It means that those who die upon disbelief, shirk and hypocrisy are not to be given the funeral prayer, nor is it permissible to seek forgiveness for them. One hadith even states that when the Prophet (ﷺ) reached the graveyard, it was learned that ʿAbdullāh ibn Ubayy had already been buried. He then ordered him to be taken out of the grave, placed him on his knees, blew his (blessed) saliva on him, and clothed him in his shirt. (al-Bukhārī: Book of Funerals, chapter on wearing the shirt; Muslim: chapter on the evil traits of the hypocrites)
But none of this benefited him. From this we learn that for one deprived of faith, the supplications for forgiveness and intercession of even the world’s greatest personalities will be of no benefit.