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