When a haraam product is sold by a Muslim

Q: When a haraam product is sold by a Muslim, will the only the profits be haraam for him or will the capital cost of the haraam item also become haraam for the seller even though the seller had purchased the haraam item from halaal resources.
Answer
If a Muslim sells a Haraam product such as wine, etc then both his capital and profit will be deemed Haraam, although the Haraam item was purchased with Halaal resources. The reason for this is that even though the Haraam item was bought with Halaal resources, he did not attain ownership of the item at the time of purchase. (Hidaayah Thaalith, Baabu Bay’il Faasid, Page 119)
And Allah Ta’ala knows best