Ṣalāt al-Janāzah is the name of the special prayer that accompanies an Islamic funeral. It is performed in congregation to seek pardon for the deceased and all dead Muslims, and is a collective obligation upon all able-bodied Muslims; if some Muslims take the responsibility of conducting the prayer, then the obligation is fulfilled, but all Muslims will be accountable if this obligation is not fulfilled by anyone. From Wikipedia