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