Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:14666Abū Zakariyyā b. Abū Isḥāq > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Baḥr b. Naṣr > Ibn Wahb > ʿAbd al-Raḥman b. Abū al-Zinād > Hishām b. ʿUrwah from his father

[Machine] The Messenger of Allah ﷺ forbade drinking from containers, saying that it is prohibited. This is narrated as a definite statement. As for what is narrated regarding using a water skin, the reports of prohibition are stronger in terms of their chain of transmission. Some scholars have suggested that if the water skin is hung up, don't put it on the ground. We have mentioned this in the book of knowledge and the book of comprehensive rulings.  

البيهقي:١٤٦٦٦أَخْبَرَنَا أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ نا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ نا بَحْرُ بْنُ نَصْرٍ نا ابْنُ وَهْبٍ أَخْبَرَنِي عَبْدُ الرَّحْمَنِ بْنُ أَبِي الزِّنَادِ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ

أَنَّ رَسُولَ اللهِ ﷺ نَهَى أَنْ يُشْرَبَ مِنْ فِي السِّقَاءِ وَقَالَ إِنَّهُ يُنْتِنُهُ هَكَذَا رُوِيَ مُرْسَلًا وَأَمَّا الَّذِي رُوِيَ فِي الرُّخْصَةِ فِي ذَلِكَ فَأَخْبَارُ النَّهْيِ أَصَحُّ إِسْنَادًا وَقَدْ حَمَلَهُ بَعْضُ أَهْلِ الْعِلْمِ عَلَى مَا لَوْ كَانَ السِّقَاءُ مُعَلَّقًا فَلَا تَدْخُلُهُ هَوَامُّ الْأَرْضِ وَقَدْ ذَكَرْنَاهُ فِي كِتَابِ الْمَعْرِفَةِ وَكِتَابِ الْجَامِعِ