Sahih Muslim | Book 23 | Chapter 2

Narrated by Anas
Anas reported that Allah's Messenger (may peace be upon him) was asked about the use of Khamr from which vinegar is prepared. He said: No (it is prohibited).