The Messenger of Allah ﷺ forbade that a man should drink while standing.
حدثنا مسلم بن إبراهيم حدثنا هشام عن قتادة
أن رسول الله ﷺ نهى أن يشرب الرجل قائما
Muslim narrated it in "The Book of Drinks," in the chapter on drinking while standing, hadith no. 2024, from the hadith of Hisham, with this wording.