´It was narrated that Anas bin Sirin said:` "I heard Anas bin Malik say: 'The Shaitan disputed with Nuh, peace be upon him, concerning the grapevine. One said: "This is for me," and the other said: "This is for me." Then they agreed that Nuh would have one-third and the Shaitan would have two-thirds.'"
Explanation & Benefits
Hafiz Muhammad Ameen
It is possible that this dispute and reconciliation actually took place, and there is no rational or Shar‘i objection in this. Shaytan used to appear before the noble Prophets (alayhimus-salam) in opposition to them. This is not something astonishing. It is also possible that this is a parable, the meaning of which is that grapes contain both intoxication and strength/nourishment. Intoxication is something satanic, while nourishment and strength are human. If it—that is, its juice—is cooked until two-thirds of it dries up, then the remaining one-third is pure strength and nourishment, and is safe from intoxication. Therefore, its use is permissible.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 5729