TABARANI 18878:
from Abū Thaʿlabah —
[Machine] He informed him that he asked the Messenger of Allah, ﷺ , and he said: "We live next to the People of the Book, and they cook pork in their pots and drink alcohol in their vessels." The Messenger of Allah, ﷺ , said: "If you find anything else, eat and drink from it. If you do not find anything else, rinse it with water and then eat and drink from it."
الطبراني ١٨٨٧٨:
عن ابو ثعلبه —
أَنَّهُ أَخْبَرَهُ أَنَّهُ سَأَلَ رَسُولَ اللهِ ﷺ فَقَالَ إِنَّا نُجَاوِرُ أَهْلَ الْكِتَابِ وَإِنَّهُمْ يَطْبُخُونَ فِي قُدُورِهِمْ لَحْمَ الْخِنْزِيرِ وَيَشْرَبُونَ فِي آنِيَتِهِمُ الْخَمْرَ فَقَالَ رَسُولُ اللهِ ﷺ «إِنْ وَجَدْتُمْ غَيْرَهَا فَكُلُوا فِيهِ وَاشْرَبُوا وَإِنْ لَمْ تَجِدُوا غَيْرَهَا فَارْحَضُوهَا بِالْمَاءِ ثُمَّ كُلُوا فِيهَا وَاشْرَبُوا»