It is recommended (Mustahabb) to comb the hair and beard, and trim the fingernails of the deceased after Ghusl.

Funeral Rites (أحكام الجنائز) Part 1: Deathbed, Washing, and Shrouding