It is narrated from Hasan bin Qasim Al-Azraqi that Umar bin Khattab (may Allah be pleased with him) was riding his she-camel in the state of Ihram, and the camel began to act up, stepping forward with one foot and backward with the other. Rabi’ said: In my opinion, these verses were recited by Umar (may Allah be pleased with him): It is as if the rider of this she-camel is like those branches that sway like a swing in strong winds, or its rider is like a drinker who is intoxicated with wine. Then he said: Allah is the Greatest, Allah is the Greatest.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 919
Hadith Takhrijإسناده ضعيف لجهالة عبد الرحمن بن الحسن بن القاسم وأبيه أخرجه البيهقي 5 / 68 - وفي المعرفة السنن والآثار له (2895)۔