From his father, that the Messenger of Allah (ﷺ) said: "I had indeed forbidden you from using containers, but the container does not make anything lawful nor unlawful, rather every intoxicant is unlawful."

This Hadith is Hasan Sahih.
Jami` at-Tirmidhi Book 26, Hadith 9