It wasnarrated from Ibn Mas'ud that the Messenger of Allah (ﷺ)said:
"Iused to forbid you from making Nabidh in certain vessels, butavessel does not make something unlawful. All intoxicants areunlawful." (IT)
English reference (IT): Vol. 4, Book 30, Hadith 3406 (IT)
Arabic reference (IT): Book 30, Hadith 3532 (IT)