Jami` at-Tirmidhi, Book 28, Hadith 11 (Tirmidhi 2114)

Simak narrated that he heard 'Alqamah bin Wa'il narrate from his father, that he witnessed the Prophet (s.a.w) being asked by Suwaid bin Tariq -or Tariq bin Suwaid- about Khamr, and he forbade it. So he said:

"We use it as a treatment." So the Messenger of Allah (S.A.W) said: "It is certainly not a treatment, rather, it is a disease." Another chain reports a similar narration.