Shafaqna (Shia International News Association) – The Grand Ayatollah Sistani answered some questions regarding Funeral Prayer.According to Shafaqna the questions and answers are as follows:
Question: What are the Mustahab acts to be done after a funeral ceremony.
Answer: It is Mustahab that when the persons who attended the funeral have departed, the guardian of the dead person or the person whom the guardian grants permission should recite the prescribed supplications for the dead person.It is Mustahab that after the burial, the bereaved family is consoled, praying for their well being. However, if the condolence is given long after the event, and if it serves to refresh the sorrowful memories, then it should be avoided.
It is Mustahab that food be sent to the members of the family of the deceased for 3 days. It is, however, Makrooh to take meal with them in their homes.
Question: Is it permissible to participate in the funeral ceremony of a non-Muslim, if he was, for example, a neighbour?
Answer: If the deceased and those organizing the funeral are not known to have hatred towards Islam and Muslims, there is no problem in participating in the funeral. However, it is better to walk behind the coffin and not in front of it.
Source: Ayatollah Sistani