It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whenever a person dies and a group of people numbering up to a hundred offer the funeral prayer over him and intercede for him, their intercession is certainly accepted."
This narration is reported in the Sahih from Sayyidah Aishah (may Allah be pleased with her).