قَوْلُهُ تَعَالَى: {اسْتَغْفِرْ لَهُمْ أَوْ لَا تَسْتَغْفِرْ لَهُمْ} [التوبة: 80]
"When 'Abdullah bin Ubayy died, his son came to the Prophet and said: 'Give me your shirt so that I may shroud him in it, and (some and) offer the (funeral) prayer for him, and pray for forgiveness for him'. So he gave him his shirt then he said: 'When you have finished, inform me and I will offer the (funeral) prayer for him.' But 'Umar stopped him and said: 'Hasn't Allah forbidden you to offer the (funeral) prayer for the hypocrites?' He said: 'I have two options. Whether you ask forgiveness for them (hypocrites) or ask no forgiveness for them." So he offered the (funeral) prayer for him. Then Allah, Most High, revealed: 'And never pray (funeral prayer) for any of them (hypocrites) who dies, nor stand at his grave.' So he stopped offering the (funeral) prayer for them." (Using translation from Nasāʾī 1900)
لَمَّا مَاتَ عَبْدُ اللهِ بْنُ أُبَيٍّ جَاءَ ابْنُهُ إِلَى النَّبِيِّ ﷺ فَقَالَ أَعْطِنِي قَمِيصَكَ حَتَّى أُكَفِّنَهُ وَصَلِّ عَلَيْهِ وَاسْتَغْفِرْ لَهُ فَأَعْطَاهُ قَمِيصَهُ ثُمَّ قَالَ «إِذَا فَرَغْتُمْ فَآذِنُونِي أُصَلِّي عَلَيْهِ» فَجَذَبَهُ عُمَرُ وَقَالَ قَدْ نَهَاكَ اللهُ أَنْ تُصَلِّيَ عَلَى الْمُنَافِقِينَ؟ قَالَ أَنَا بَيْنَ خِيَرَتَيْنِ قَالَ {اسْتَغْفِرْ لَهُمْ أَوْ لَا تَسْتَغْفِرْ لَهُمْ} [التوبة 80] فَصَلَّى عَلَيْهِ فَأَنْزَلَ اللهُ ﷻ {وَلَا تُصَلِّ عَلَى أَحَدٍ مِنْهُمْ مَاتَ أَبَدًا وَلَا تَقُمْ عَلَى قَبْرِهِ} [التوبة 84] فَتَرَكَ الصَّلَاةَ عَلَيْهِمْ