'A'isha reported Allah's Apostle (ﷺ) saying: 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.
Hadith ReferenceSahih Muslim / The Book of Prayer - Funerals / Hadith: 947