Burayda reported,

The Messenger of Allah ﷺ said, "I had previously forbidden you from drinking out of leather containers, but now you may drink from any vessel, provided you do not drink anything intoxicating."

Muslim 5209

Sahih

و حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن معرف بن واصل عن محارب بن دثار

عن ابن بريدة عن أبيه قال

قال رسول الله ﷺ كنت نهيتكم عن الأشربة في ظروف الأدم فاشربوا في كل وعاء غير أن لا تشربوا مسكرا

مسلم 5209صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Drinks
Chapter
Prohibition of making nabidh in pitch-coated containers, gourds, green-glazed jars, and hollowed palm trunks, and clarification that this is abrogated and today it is permissible as long as it does not become intoxicating
Numbering
Darussalam 5209
Muslim 5209