Anas reported that Allaah's Messenger (sallAllaahu alayhi wa sallam) was asked about the use of Khamr from which vinegar is prepared. He said: No (it is prohibited).