حَدَّثَنَا عَمَّارُ بْنُ خَالِدٍ الْوَاسِطِيُّ، وَسَهْلُ بْنُ أَبِي سَهْلٍ، قَالاَ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ مُجَالِدٍ، عَنْ عَامِرٍ، عَنْ جَابِرٍ، قَالَ مَاتَ رَأْسُ الْمُنَافِقِينَ بِالْمَدِينَةِ وَأَوْصَى أَنْ يُصَلِّيَ عَلَيْهِ النَّبِيُّ ـ صلى الله عليه وسلم ـ وَأَنْ يُكَفِّنَهُ فِي قَمِيصِهِ فَصَلَّى عَلَيْهِ وَكَفَّنَهُ فِي قَمِيصِهِ وَقَامَ عَلَى قَبْرِهِ فَأَنْزَلَ اللَّهُ ‏{وَلاَ تُصَلِّ عَلَى أَحَدٍ مِنْهُمْ مَاتَ أَبَدًا وَلاَ تَقُمْ عَلَى قَبْرِهِ}‏ ‏.‏

It wasnarrated that Jabir said: “The leader of the hypocrites inAl-Madinah died, and left instructions that the Prophet (PBUH) shouldoffer the funeral prayer for him and shroud him in his shirt. Heoffered the funeral prayer for him and shrouded him in his shirt, andstood by his grave. Then Allah revealed the words: ‘And never pray(the funeral prayer) for any of them (hypocrites) who dies, nor standat his grave.” [9:84] Translation Not Available

Book Ref: Sunan Ibn Majah Book 6 Hadith 1524
Web Ref:  Sunan Ibn Majah Vol 1 Book 6 Hadith 1524