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." (FR)
English reference (FR): Vol. 4, Book 30, Hadith 3406 (FR)
Arabic reference (FR): Book 30, Hadith 3532 (FR)