Ali bin Abu Talib reported,

He prayed Zuhr, then sat attending to the needs of the people in the courtyard 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 what remained while standing.He said, "Some people dislike drinking while standing, but the Prophet ﷺ did exactly as I have just done."

Bukhari 5616

Sahih

حدثنا آدم حدثنا شعبة حدثنا عبد الملك بن ميسرة سمعت النزال بن سبرة يحدث

عن علي رضي الله عنه

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

البخاري 5616صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Drinks
Chapter
Drinking while standing
Numbering
Darussalam 5616
Bukhari 5616