“I said: ‘O Messenger of Allah, in our land there are grapes which we squeeze (to make wine). Can we drink from it?’ He said: ‘No.’ I repeated the question and said: ‘We treat the sick with it.’ He said: ‘That is not a cure, it is a disease.’”
Sunan Ibn Majah Book 31, Hadith 65