It is narrated from Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with him) that when the Messenger of Allah (ﷺ) forbade (the use of certain) vessels, it was submitted to him that not everyone has a water-skin. So the Messenger of Allah (ﷺ) permitted the use of other vessels except those coated with tar.
Hadith Referenceالسنن المأثورة / باب الحدود / 546
Hadith Takhrijصحیح بخاری، الاشربة، باب ترخیص النبی صلی اللہ علیہ وسلم فی الاوعیة والظروف بعد النھی، رقم: 5593، صحیح مسلم، الاشربة، باب النھی عن الانتباذ ....... الخ، رقم : 2000