Ali bin Abu Talib reported,

He prayed Zuhr, then sat attending to the people's needs in the open square of Kufa until the time for Asr prayer arrived. Then water was brought to him. He drank, washed his face and hands, and wiped his head and feet. Then he stood up and drank the remainder while standing. Then he said, "Some people dislike drinking while standing, but the Prophet ﷺ did just as I have done."

Azami 14383

Sahih

عن علي

أنه صلى الظهر، ثم قعد في حوائج الناس في رحبة الكوفة، حتى حضرت صلاة العصر، ثم أتي بماء، فشرب وغسل وجهه ويديه، وذكر رأسه ورجليه، ثم قام، فشرب فضله وهو قائم، ثم قال: إن ناسا يكرهون الشرب قياما، وإن النبي ﷺ المصنع مثل ما صنعت.

الأعظمي 14383صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of eating and drinking
Section
Permissibility of drinking while standing
Numbering
Jami al-Kamil 14383 (2nd edition)
Azami 14383