Imam An-Nawawee – may Allah shower blessings on him – said in his book, Riyaadus Saaliheen: 'Chapter on prohibition of disclosing the physical defects of the deceased.'
Then he mentioned the hadeeth of the freed slave of the Prophet ؐ about the virtue of the one who washes a dead body and conceals his physical defects.
Physical defects noticed on the dead body can be of two types:
That which has to do with his condition;
That which has to do with his body.
The first: For example, if one were to observe that the face of the dead has changed, becoming dark and ugly, this is a sign of an evil end. We seek refuge and safety from Allah from such. It is not permissible to disclose this to people because it is tantamount to exposing his defect. The man has proceeded to his Lord who will soon recompense him with justice and blessing, as appropriate. If he amassed good deeds, then Allah will reward him ten folds for every good; otherwise, "The recompense for an evil is an evil the like thereof."
The second: That which has to do with his body. For example, one observes a flaw such as inflammation, black mark or any other thing which people detest to be known with. It is also not permissible to disclose this to people.
Thus, scholars – may Allah shower blessings on him – explained that the one who washes a corpse must keep the condition of the body secret if it is not pleasant. If he observes pleasant things about the corpse such as a brightened face or he found him smiling, then this is good and he should inform people. This will make the people speak well of the dead, there is no problem with this and it is not considered show off. These are considered worldly good tidings for the believer, for it is possible for a believer to experience that. For instance, it might
be observed that he maintained a pleasant physical condition even after his death. Also, he might see a good dream about himself or someone else sees a good dream about him. These are all good signs and tidings of good things.
Hence, scholars – may Allah shower blessings on him – stated that it is disliked for anyone other than those selected to wash the corpse to be present at the washing. This includes close relatives. This is because he might see something displeasing about the dead and end up being mean to the dead.'
Allah alone grants success.