It was narrated from Anas that the Messenger of Allah (ﷺ) forbade drinking while standing up.

Sunan Ibn Majah Book 30, Hadith 54