Abu Thalaba reported,

He asked the Messenger of Allah ﷺ, "We live near the People of the Book, and they cook pork in their pots and drink wine from their vessels."The Messenger of Allah ﷺ replied, "If you can find other vessels, eat and drink from those. If you cannot find any others, wash them with water and then eat and drink from them."

Azami 7318

Sahih

عن أبي ثعلبة الخشني

أنه سأل رسول الله ﷺ قال: إنا نجاور أهل الكتاب وهم يطبخون في قدورهم الخنزير، ويشربون في آنيتهم الخمر؟ فقال رسول الله ﷺ: إن وجدتم غيرها فكلوا فيها واشربوا، وإن لم تجدوا غيرها فارحضوها بالماء وكلوا واشربوا.

الأعظمي 7318صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Foods
Chapter
Permissible foods
Section
Eating and drinking from the vessels and waterskins of the polytheists and People of the Book
Numbering
Jami al-Kamil 7318 (2nd edition)
Azami 7318