Narrated Jabir: Allah's Apostle forbade the use of (certain) containers, but the Ansar said, "We cannot dispense with them." The Prophet then said, "If so, then use them."
Related hadith on this topic
Explanation & Benefits
Maulana Dawood Raz
Hadith Commentary:
It is understood that the vessels in which wine was made were also prohibited from being used, and making nabidh (fermented drink) in them was also forbidden, so that not even a trace of wine would remain.
Source: Sahih Bukhari: Commentary by Maulana Dawood Raz, Page: 5592