Hadithcore
Riyad as-Salihin, 770

Anas (May Allah be pleased with him) reported:

The Prophet (ﷺ) forbade us from drinking while standing. Qatadah reported: "We asked him: 'What about eating?"' He said: "That is even worse, (or may be he said) more detestable." Another narration is: The Messenger of Allah (ﷺ) reprimanded [us] for drinking while standing. <b>[Muslim]</b>.

وعن أنس رضى الله عنه عن النبي صلى الله عليه وسلم أنه نهى أن يشرب الرجل قائماً‏.‏ قال قتادة‏:‏ فقلنا لأنس‏:‏ فالأكل‏؟‏ قال‏:‏ ذلك أشر -أو أخبث- ‏.‏ وفى رواية له أن النبي صلى الله عليه وسلم زجر عن الشرب قائما.‏‏((رواه مسلم))‏ وفى رواية له أن النبي صلى الله عليه وسلم زجر عن الشرب قائماً‏.‏

References1 variant
In-Book Reference
Book 2, Hadith 44
Sharh · explanationclick to expand
<b>Guidance from the Hadiths:</b><br> 1) The forbiddance of drinking while standing denotes actual prohibition; yet a prohibited thing may be done sometimes because of need.<br> 2) The Prophet’s command that a man should induce vomit indicates that it is strongly prohibited to drink while standing.