From Sahih Muslim (Hadith 5170):
Abu Huraira reported that Allah's Apostle (ﷺ) said to the group of Abd al-Qais:I forbid you (to prepare Nabidh) in gourd. and green pitcher, hollow stump and varnished jar and the waterskin having its upper end cut, but (prepare it) in your small waterskin, and tie its mouth
Reference: Muslim 5170