Hadith on Janazah: When forty Muslims pray the funeral prayer

Abdullah ibn Abbas reported: The Messenger of Allah, peace and blessings be upon him, said, “A Muslim man does not die while forty men pray over him, who do not associate any partners with Allah, but that Allah will accept their intercession for him.

Source: Ṣaḥīḥ Muslim 948

Grade: Sahih (authentic) according to Muslim

عَنْ عَبْدِ اللَّهِ بْنِ عَبَّاسٍ قَالَ قَالَ رَسُول اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا مِنْ رَجُلٍ مُسْلِمٍ يَمُوتُ فَيَقُومُ عَلَى جَنَازَتِهِ أَرْبَعُونَ رَجُلًا لَا يُشْرِكُونَ بِاللَّهِ شَيْئًا إِلَّا شَفَّعَهُمْ اللَّهُ فِيهِ

948 صحيح مسلم كتاب الجنائز باب من صلى عليه أربعون شفعوا فيه