Sayyiduna Anas (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) was asked: "Can wine be made into vinegar?" He (peace and blessings be upon him) said: "No." In one narration the wording is: The Messenger of Allah (peace and blessings be upon him) was asked: "Can wine be made into vinegar?" and he (peace and blessings be upon him) disliked it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الرهن / 11197