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

This hadith has been reported on the authority of Qatada with the same chain of transmitters that Allah's Apostle (ﷺ) forbade (the preparation of) Nabidh, the rest of the hadith is the same.

وَحَدَّثَنَاهُ مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا مُعَاذُ بْنُ هِشَامٍ، حَدَّثَنِي أَبِي، عَنْ قَتَادَةَ، بِهَذَا الإِسْنَادِ أَنَّ نَبِيَّ اللَّهِ صلى الله عليه وسلم نَهَى أَنْ يُنْتَبَذَ ‏.‏ فَذَكَرَ مِثْلَهُ ‏.‏
Reference : Sahih Muslim 1996c
In-book reference : Book 36, Hadith 58
USC-MSA web (English) reference : Book 23, Hadith 4930
  (deprecated numbering scheme)