It was narrated from Ibn Mas’ud that the Messenger of Allah (ﷺ) said: “I used to forbid you from making Nabidh in certain vessels, but a vessel does not make something unlawful. All intoxicants are unlawful.”
SahihSahihSahih LighairihiBook 30 · Hadith 36