Sahih Muslim 5283
The Book of Drinks
وَحَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، عَنْ عَاصِمٍ، سَمِعَ الشَّعْبِيَّ، سَمِعَ ابْنَ عَبَّاسٍ، قَالَ سَقَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم مِنْ زَمْزَمَ فَشَرِبَ قَائِمًا وَاسْتَسْقَى وَهُوَ عِنْدَ الْبَيْتِ .
Ibn 'Abbas reported:I served (water from) Zamzam to Allah's Messenger (ﷺ), and he drank while standing, and he asked for it while he was near the House (i. e. House of Allah-Ka'ba)
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.