Abdullah bin Ma'qil (may Allah have mercy on him) said: Sayyiduna Ali (may Allah be pleased with him) had a man given a hadd punishment, and the executioner gave him two extra lashes, so he (may Allah be pleased with him) granted him retaliation against him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17551