Ikrimah bin Khalid narrated that during a journey, a caravan gathered together and among them was a widow. She appointed one of the men as her guardian, and he married her to another man. So Umar bin Khattab (may Allah be pleased with him) flogged both the one who married and the one who conducted the marriage, and annulled the marriage.
Hadith Referenceمسند الإمام الشافعي / كتاب النكاح / 1142
Hadith Takhrijاسناده ضعيف لانقطاعه، فان عكرمة بن خالد لم يسمع من عمر بن الخطاب اخرجه البيهقي : 7/ 111 ـ وفي المعرفة السنن والآثار له (4072) - والدارقطني: 3/ 225 - وعبد الرزاق (10486) وابن ابي شيبة (15936)۔