كتاب الأشربة
36  
The Book of Drinks
(4)
Chapter: Everything that is taken from the date palm or grape vine and steeped is called Khamr
(4)
باب بَيَانِ أَنَّ جَمِيعَ مَا يُنْبَذُ مِمَّا يُتَّخَذُ مِنَ النَّخْلِ وَالْعِنَبِ يُسَمَّى خَمْرًا ‏‏
Sahih Muslim 1985 c

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

Wine comes from vine and date-palms. Abu Kuraib has narrated it with a slight variation of words.
وَحَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، وَأَبُو كُرَيْبٍ قَالاَ حَدَّثَنَا وَكِيعٌ، عَنِ الأَوْزَاعِيِّ، وَعِكْرِمَةَ، بْنِ عَمَّارٍ وَعُقْبَةَ بْنِ التَّوْأَمِ عَنْ أَبِي كَثِيرٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ الْخَمْرُ مِنْ هَاتَيْنِ الشَّجَرَتَيْنِ الْكَرْمَةِ وَالنَّخْلَةِ ‏"‏ ‏.‏ وَفِي رِوَايَةِ أَبِي كُرَيْبٍ ‏"‏ الْكَرْمِ وَالنَّخْلِ ‏"‏ ‏.‏
Reference : Sahih Muslim 1985c
In-book reference : Book 36, Hadith 18
USC-MSA web (English) reference : Book 23, Hadith 4895
  (deprecated numbering scheme)