Sayyiduna Ali (may Allah be pleased with him) said about a man who cuts his hair or nails: He should repeat his ablution.