حَدَّثَنَا أَحْمَدُ بْنُ الْجَعْدِ الْوَشَّاءُ، ثنا مُحَمَّدُ بْنُ بَكَّارٍ، ثنا مُحَمَّدُ بْنُ الْفَضْلِ، عَنْ سَالِمٍ الْأَفْطَسِ، عَنْ عَطَاءٍ، عَنِ ابْنِ عُمَرَ، قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: " صَلُّوا عَلَى مَنْ قَالَ: لَا إِلَهَ إِلَّا اللهُ، وَصَلُّوا وَرَاءَ مَنْ قَالَ: لَا إِلَهَ إِلَّا اللهُ "
It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Offer the funeral prayer over whoever says La ilaha illallah (there is no god but Allah), and pray behind whoever says La ilaha illallah."