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

Sa'id b. Jubair reported:

I asked Ibn 'Umar about (the preparation of) Nabidh in a green pitcher (besmeared with pitch), whereupon he said that Allah's Messenger (ﷺ) forbade the (preparation of) Nabidh in green pitcher (besmeared with pitch). I then came to Ibn Abbas and said: Do you hear what Ibn 'Umar has said? Thereupon he said: What does he say? I said: He stated that Allah's Messenger (ﷺ) has forbidden the (preparation of) Nabidh in a green pitcher (besmeared with pitch), whereupon he said: Ibn 'Umar has told the truth. Allah's Messenger (ﷺ) declared unlawful the preparation of Nabidh in a green pitcher (besmeared with pitch). I said: What is this thing, the Nabidh of a pitcher (Nabidh prepared in a pitcher)? Thereupon, he said: Everything that is prepared in earthen pitcher.
حَدَّثَنَا شَيْبَانُ بْنُ فَرُّوخَ، حَدَّثَنَا جَرِيرٌ، - يَعْنِي ابْنَ حَازِمٍ - حَدَّثَنَا يَعْلَى بْنُ حَكِيمٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، قَالَ سَأَلْتُ ابْنَ عُمَرَ عَنْ نَبِيذِ الْجَرِّ، فَقَالَ حَرَّمَ رَسُولُ اللَّهِ صلى الله عليه وسلم نَبِيذَ الْجَرِّ ‏.‏ فَأَتَيْتُ ابْنَ عَبَّاسٍ فَقُلْتُ أَلاَ تَسْمَعُ مَا يَقُولُ ابْنُ عُمَرَ قَالَ وَمَا يَقُولُ قُلْتُ قَالَ حَرَّمَ رَسُولُ اللَّهِ صلى الله عليه وسلم نَبِيذَ الْجَرِّ ‏.‏ فَقَالَ صَدَقَ ابْنُ عُمَرَ حَرَّمَ رَسُولُ اللَّهِ صلى الله عليه وسلم نَبِيذَ الْجَرِّ ‏.‏ فَقُلْتُ وَأَىُّ شَىْءٍ نَبِيذُ الْجَرِّ فَقَالَ كُلُّ شَىْءٍ يُصْنَعُ مِنَ الْمَدَرِ ‏.‏
Reference : Sahih Muslim 1997b
In-book reference : Book 36, Hadith 61
USC-MSA web (English) reference : Book 23, Hadith 4933
  (deprecated numbering scheme)