Ka'b bin Abdullah said that Sayyiduna Ali (may Allah be pleased with him) urinated, then performed ablution and wiped over his socks and sandals.