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