كتاب الأشربة
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 e

Thabit reported:

I said to Ibn 'Umar that Allah's Messenger (ﷺ) had forbidden the preparation of Nabidh in the green pitcher (besmeared with pitch). He said: This is what they stated. I said: Did Allah's Messenger (ﷺ) forbid this? He said: They said so.
وَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ ثَابِتٍ، قَالَ قُلْتُ لاِبْنِ عُمَرَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ نَبِيذِ الْجَرِّ قَالَ فَقَالَ قَدْ زَعَمُوا ذَاكَ ‏.‏ قُلْتُ أَنَهَى عَنْهُ رَسُولُ اللَّهِ صلى الله عليه وسلم قَالَ قَدْ زَعَمُوا ذَاكَ ‏.‏
Reference : Sahih Muslim 1997e
In-book reference : Book 36, Hadith 64
USC-MSA web (English) reference : Book 23, Hadith 4936
  (deprecated numbering scheme)