FUNERAL PRAYER H 431 "When a Muslim dies and forty people who do not associate anything Allah, pray the funeral prayer over him, Allah accepts their prayers for him." R 431 Muslim with a chain up to ibn Abbas who related that he heard the Prophet, praise and peace be upon him, say this hadith.
430- وعن ابن عباس رضي الله عنهما ، قَالَ : سَمِعْتُ رَسُول الله صلى الله عليه وآله وسلم ، يقول : "مَا مِنْ رَجُلٍ مُسْلِمٍ يَمُوتُ ، فَيقُومُ عَلَى جَنَازَتهِ أرْبَعونَ رَجُلاً لاَ يُشْرِكُونَ بِاللهِ شَيئاً ، إلاَّ شَفَّعَهُمُ اللهُ فِيهِ" رواه مسلم .
H 432 H "There were approximately forty Companions with the Prophet, praise and peace be upon him, inside a tent, when he asked them: 'Would it please you if you were to become a quarter of the dwellers of Paradise?' They answered: 'Yes!' Then he asked: 'Would you be pleased if you were to become a third of the dwellers of Paradise?' They answered: 'Yes!' Then he said: 'By Him in whose Hands is the life of Muhammad, I hope that you will become half of the dwellers of Paradise. None will enter Paradise except a soul that is in complete submission to Allah; and your proportion among the unbeliever is like that of a white hair on the hide of a black ox, or that of black hair on the hide of a red ox.'" R 432 Bukhari and Muslim with a chain up to ibn Mas'ud who related this hadith
431- وعن ابن مسعود رضي الله عنه ، قَالَ : كُنَّا مَعَ رَسُول الله صلى الله عليه وآله وسلم في قُبَّة نَحْوَاً مِنْ أربَعِينَ ، فَقَالَ : "أتَرْضَونَ أنْ تَكُونُوا رُبُعَ أهْلِ الجَنَّةِ ؟" قُلْنَا : نَعَمْ . قَالَ : "أتَرْضَوْنَ أنْ تَكُونُوا ثُلُثَ أهلِ الجَنَّةِ ؟" قُلْنَا : نَعَمْ ، قَالَ : "وَالَّذِي نَفْسُ مُحَمّدٍ بيَدِهِ ، إنِّي لأَرْجُو أنْ تَكُونُوا نِصْفَ أهْلِ الجَنَّةِ وذلك أنَّ الجنَّةَ لاَ يَدْخُلُهَا إلاَّ نَفْسٌ مُسْلِمَةٌ ، ومَا أنْتُم في أهْلِ الشِّركِ إلاَّ كَالشَّعْرَةِ البَيْضَاءِ في جلدِ الثَّورِ الأَسْوَدِ ، أَوْ كَالشَّعْرَةِ السَّودَاءِ في جلدِ الثَّورِ الأحْمَر" مُتَّفَقٌ عَلَيهِ .