If you mean by attending a funeral is to attend the washing of the deceased, this is permissible. What is not permissible it to walk behind a funeral or to visit a graveyard.

Looking at the face of a non Mahram male is permissible.

What is the ruling for Muslim women when attending a funeral? and Is it permissible for a non mahram women to see the face of a man who has passed away?

Funerals |