Simak bin Harb said: A man from Banu Ijl told me: During the Battle of Siffin I was with Sayyiduna Ali (may Allah be pleased with him) when suddenly a man began crying out: I have committed adultery; let the prescribed punishment be carried out on me. I took him to Sayyiduna Ali (may Allah be pleased with him). Sayyiduna Ali (may Allah be pleased with him) asked: Have you married? He said: Yes. He (may Allah be pleased with him) asked: Have you also consummated the marriage with your wife? He said: No. So Sayyiduna Ali (may Allah be pleased with him) gave him a hundred lashes, had him pay his wife half the dowry, and separated them.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 16946