If a company of Muslims numbering one hundred pray over a dead person, all of them interceding for him, their intercession for him will be accepted.

Sahih Muslim Book 11, Hadith 76