It is narrated from Sa’ib bin Yazid (may Allah be pleased with him) that when Umar bin Khattab (may Allah be pleased with him) came out to lead the funeral prayer, Sa’ib heard him say: "I have smelled alcohol from Ubaidullah and his companions. I will investigate what they have drunk; if it is intoxicating, I will enforce the prescribed punishment (hadd) upon them." Sa’ib bin Yazid says that he was present there at the time when the punishment was carried out on them.
Hadith Referenceمسند الإمام الشافعي / كتاب الحدود / 1566
Hadith Takhrijصحیح اخرجه البيهقي : 312/8 ، 315 - وفى المعرفة السنن والآثار له (5215)۔