It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he said about trimming the hair and nails: "This act has only given it (the person) more purity," meaning taking something from the hair and nails (trimming them).