Hadith.5090 - Imam Jafar ibn Muhammad Al-Sadiq عليه السلام said: "Do not sit with those who drink wine, for when the curse descends, it encompasses everyone present in the gathering."
It is not permissible to perform prayer in a house where wine is stored in containers. However, there is no harm in praying in a garment that has been touched by wine because Allah سبحانه وتعالى, the Mighty and Majestic, has forbidden its consumption but has not prohibited praying in a garment that has been affected by it.