[Machine] He came to the Prophet ﷺ and said, "O Messenger of Allah, we are in a land of the people of the Book (Christians and Jews), they drink alcohol and eat pork. So what do you think about their utensils and pots?" He said, "Leave them as long as you do not find any impurities on them. But if you do not find any impurities, then wash them with water or pour water over them." Then he said, "Cook in them and eat." Hammad said, I think he said, "And drink." This is how Shu'bah narrated it from Ayyub.
أَنَّهُ أَتَى النَّبِيَّ ﷺ فَقَالَ قُلْتُ يَا رَسُولَ اللَّهِ إِنَّا بِأَرْضٍ أَرْضِ أَهْلِ الْكِتَابِ يَشْرَبُونَ الْخُمُورَ وَيَأْكُلُونَ الْخَنَازِيرَ فَمَا تَرَى فِي آنِيَتِهِمْ وَقُدُورِهِمْ؟ فَقَالَ «دَعُوهَا مَا وَجَدْتُمْ عَنْهَا بُدًّا فَإِذَا لَمْ تَجِدُوا عَنْهَا بُدًّا فَاغْسِلُوهَا بِالْمَاءِ أَوْ قَالَ انْضَحُوهَا بِالْمَاءِ » ثُمَّ قَالَ «اطْبُخُوا فِيهَا وَكُلُوا» قَالَ حَمَّادٌ وَأَحْسِبُهُ قَالَ «وَاشْرَبُوا» وَهَكَذَا رَوَاهُ شُعْبَةُ عَنْ أَيُّوبَ