When the Prophet s prayed over the dead body of ‘Abd Allāh Ibn Ubayy the following was revealed And never pray over any one of them when he is dead nor stand over his grave at a burial or as a visit; lo! they disbelieved in God and His Messenger and died while they were wicked they died disbelieving.
- 9:8484
وَلَا تُصَلِّ عَلَىٰ أَحَدٍ مِنْهُمْ مَاتَ أَبَدًا وَلَا تَقُمْ عَلَىٰ قَبْرِهِ ۖ إِنَّهُمْ كَفَرُوا بِاللَّهِ وَرَسُولِهِ وَمَاتُوا وَهُمْ فَاسِقُونَ
And pray thou not ever over any of them that may die nor stand thou over his grave. Verily they have disbelieved in Allah and His apostle and died while they were ungodly.
- common.revelation-Medinan
- common.hizb : 80