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.
bukhari:3378Muḥammad b. Miskīn Abū al-Ḥasan > Yaḥyá b. Ḥassān b. Ḥayyān Abū Zakariyyāʾ > Sulaymān > ʿAbdullāh b. Dīnār > Ibn ʿUmar

When Messenger of Allah ﷺ landed at Al-Hijr during the Ghazwa of Tabuk, he ordered his companions not to drink water from its well or reserve water from it. They said, "We have already kneaded the dough with its water. and also filled our bags with its water.'' On that, the Prophet ﷺ ordered them to throw away the dough and pour out the water.  

البخاري:٣٣٧٨حَدَّثَنَا مُحَمَّدُ بْنُ مِسْكِينٍ أَبُو الْحَسَنِ حَدَّثَنَا يَحْيَى بْنُ حَسَّانَ بْنِ حَيَّانَ أَبُو زَكَرِيَّاءَ حَدَّثَنَا سُلَيْمَانُ عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ عَنِ ابْنِ عُمَرَ ؓ

أَنَّ رَسُولَ اللَّهِ ﷺ لَمَّا نَزَلَ الْحِجْرَ فِي غَزْوَةِ تَبُوكَ أَمَرَهُمْ أَنْ لاَ يَشْرَبُوا مِنْ بِئْرِهَا وَلاَ يَسْتَقُوا مِنْهَا فَقَالُوا قَدْ عَجَنَّا مِنْهَا وَاسْتَقَيْنَا فَأَمَرَهُمْ أَنْ يَطْرَحُوا ذَلِكَ الْعَجِينَ وَيُهَرِيقُوا ذَلِكَ الْمَاءَ وَيُرْوَى عَنْ سَبْرَةَ بْنِ مَعْبَدٍ وَأَبِي الشُّمُوسِ أَنَّ النَّبِيَّ ﷺ أَمَرَ بِإِلْقَاءِ الطَّعَامِ وَقَالَ أَبُو ذَرٍّ عَنِ النَّبِيَّ ﷺ مَنِ اعْتَجَنَ بِمَائِهِ