On the Desirability of large Participation in Funeral Prayers
Riyad as-Salihin (Gardens of the Righteous)
Riyad as-Salihin 936
Ayesha relates that the Holy Prophet said: If as many as a hundred Muslims should participate in the funeral service of a person who dies, all of them interceding for him, their intercession would be granted (Muslim).
Riyad as-Salihin 937
Ibn Abbas relates that he heard the Holy Prophet say: If a Muslim dies and forty people who do not associate aught with Allah, join in the funeral prayers over him, Allah accepts their intercession on his behalf (Muslim).
Riyad as-Salihin 938
Marthad ibn Abdullah Yazni relates that when Malik ibn Hubairah conducting a funeral service found a paucity of participants he would divide them into three rows, explaining that the Holy Prophet had said: If three rows of suppliants pray for the deliverance of a deceased person he would be admitted to Paradise (Abu Daud and Tirmidhi).