Hadith Q95

وَالدَّلِيلُ عَلَى أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّمَا أَمَرَ بِغَسْلِ الْإِنَاءِ مِنْ وُلُوغِ الْكَلْبِ تَطْهِيرًا لِلْإِنَاءِ، لَا عَلَى مَا ادَّعَى بَعْضُ أَهْلِ الْعِلْمِ أَنَّ الْأَمْرَ بِغَسْلِهِ أَمْرُ تَعَبُّدٍ، وَأَنَّ الْإِنَاءَ طَاهِرٌ وَالْوُضُوءُ وَالِاغْتِسَالُ بِذَلِكَ الْمَاءِ جَائِزٌ، وَشُرْبُ ذَلِكَ الْمَاءِ طَلْقٌ مُبَاحٌ
And the explanation of the evidence that the command of the Prophet Muhammad (peace be upon him) to wash the vessel in which a dog puts its mouth is for the purification and cleanliness of the vessel, and not, as some scholars have claimed, that the command to wash the vessel is a purely devotional act and that the vessel is pure, and that performing ablution and bathing with that water is permissible, and that drinking that water is absolutely permissible.
Hadith Reference صحيح ابن خزيمه / جماع أبواب ذكر الماء الذي لا ينجس، والذي ينجس إذا خالطته نجاسة / Q95