Sayyiduna Tamim al-Dari (may Allah be pleased with him) used to give the Prophet (peace and blessings be upon him) a skin of wine as a gift every year. In the year it was made unlawful, he still gave him a skin as a gift, so the Prophet (peace and blessings be upon him) smiled and said: "It has been made unlawful." He said: "Then shall I sell it?" He (peace and blessings be upon him) said: "Both buying it and taking its price are unlawful."
Hadith Referenceالمعجم الكبير للطبراني / باب التاء / 1262