Yahya Abu Umar reported,

Some people asked Ibn Abbas about selling wine, buying it, and trading in it.He asked, "Are you Muslims?"They replied, "Yes."He said, "Then it is not lawful to sell it, buy it, or trade in it."They then asked him about nabidh, and he said, "The Messenger of Allah ﷺ went out on a journey, then returned to find that some of his companions had soaked dates in green earthen jars, hollowed stumps, and gourd vessels. He ordered that it be poured out. Then he ordered a waterskin to be brought, and raisins and water were placed in it. This was prepared at night, and in the morning he drank from it that day and the following night, and the next day until evening, drinking from it and giving others to drink. When morning came, he ordered that what remained be poured out."

Muslim 5230

Sahih

و حدثني محمد بن أحمد بن أبي خلف حدثنا زكرياء بن عدي حدثنا عبيد الله عن زيد

عن يحيى أبي عمر النخعي قال

سأل قوم ابن عباس عن بيع الخمر وشرائها والتجارة فيها فقال أمسلمون أنتم قالوا نعم قال فإنه لا يصلح بيعها ولا شراؤها ولا التجارة فيها قال فسألوه عن النبيذ فقال خرج رسول الله ﷺ في سفر ثم رجع وقد نبذ ناس من أصحابه في حناتم ونقير ودباء فأمر به فأهريق ثم أمر بسقاء فجعل فيه زبيب وماء فجعل من الليل فأصبح فشرب منه يومه ذلك وليلته المستقبلة ومن الغد حتى أمسى فشرب وسقى فلما أصبح أمر بما بقي منه فأهريق

مسلم 5230صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Drinks
Chapter
Permissibility of nabidh that has not fermented and has not become intoxicating
Numbering
Darussalam 5230
Muslim 5230