It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings of Allah be upon him) was asked: O Messenger of Allah! What is your opinion about a man who becomes without ablution, then performs ablution and wipes over his socks, so can he pray? The Prophet (peace and blessings of Allah be upon him) said: "There is no harm in doing so."