A man from the people of Egypt, Abdur Rahman bin Wa'lah al-Saba'i, asked Ibn Abbas (may Allah be pleased with him) about the juice pressed from grapes. He replied: A man presented the Messenger of Allah (peace and blessings be upon him) with a waterskin full of wine as a gift. The Messenger of Allah (peace and blessings be upon him) asked him: "Do you know that Allah Almighty has made wine unlawful?" He said: "No." Then he whispered to a man. The Messenger of Allah (peace and blessings be upon him) asked: "What did you whisper to him?" He said: "I told him to sell it." He (peace and blessings be upon him) said: "That whose drinking is unlawful, its selling is also unlawful." The narrator said: Then he opened the two waterskins until all that was in them was gone.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 11042