كتاب الأشربة
36  
The Book of Drinks
(6)
Chapter: The prohibition of making Nabidh in Al-Muzaffat, Ad-Dubba' (Gourds), Al-Hantam and An-Naqir; This has been abrogated and now it is permitted, so long as it does not become intoxicating
(6)
باب النَّهْيِ عَنْ الاِنْتِبَاذِ فِي الْمُزَفَّتِ وَالدُّبَّاءِ وَالْحَنْتَمِ وَالنَّقِيرِ وَبَيَانِ أَنَّهُ مَنْسُوخٌ وَأَنَّهُ الْيَوْمَ حَلاَلٌ مَا لَمْ يَصِرْ مُسْكِرًا
Sahih Muslim 1997 c

Ibn 'Umar reported:

Allah's Messenger (ﷺ) addressed people in one of his expeditions. Ibn 'Umar said: I went forward to him but he went away before I reached him. I asked (the people present there): What did he say? They said that he (the Holy Prophet) had forbidden the preparation of Nabidh in gourd and varnished jar.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم خَطَبَ النَّاسَ فِي بَعْضِ مَغَازِيهِ قَالَ ابْنُ عُمَرَ فَأَقْبَلْتُ نَحْوَهُ فَانْصَرَفَ قَبْلَ أَنْ أَبْلُغَهُ فَسَأَلْتُ مَاذَا قَالَ قَالُوا نَهَى أَنْ يُنْتَبَذَ فِي الدُّبَّاءِ وَالْمُزَفَّتِ ‏.‏
Reference : Sahih Muslim 1997c
In-book reference : Book 36, Hadith 62
USC-MSA web (English) reference : Book 23, Hadith 4934
  (deprecated numbering scheme)