Jami` at-Tirmidhi, Book 26, Hadith 9 (Tirmidhi 1934)

Narrated Sulaiman bin Buraidah:

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.