Sahih Muslim 5193
The Book of Drinks
وَحَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا بَهْزٌ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ طَاوُسٍ، عَنْ أَبِيهِ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنِ الْجَرِّ وَالدُّبَّاءِ .
Ibn 'Umar reported that Allah's Messenger (ﷺ) forbade (the preparation) of Nabidh in a green pitcher (besmeared with pitch) and in varnished jar
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.