Muhammad.com collection in 109 languages

  • English_Boxer_Muhammad_Ali_Prayer_Book, page : 418

ritual.307 An open space or the gravesite may be an acceptable
location. All participants in the prayer service must be in a state of
ablution.

The person who leads the prayer (preferably one who was
selected by the deceased) is usually very well known and close to
Allah, The person selected by the deceased must not be immoral or
a heretic. The deceased's father, grandfather, great-grandfather,
son, grandson, great-grandson, or closest male relative on the side
of a male descendent may offer the prayer.

If a Muslim is buried without being given an obligatory washing
(ghusl), the body must be dug up and washed; then prayers must
be said over the deceased. If the body has been buried for a long
time and has deteriorated, the grave is opened and water is poured
over the entire body until it is fully covered. Prayer is then offered
for the deceased, and the grave is closed.

To perform the prayer service the coffin is placed in front of the