It is not right for a Muslim to accept a gift that contains the forbidden item in his religion. Among them is alcohol. If he did, it is not proper for him to keep it under his possession. For indeed it is forbidden and it must not be purchased and sold as a valuable item. It is also not appropriate to be used, benefited from, sold or donated. 

But rather, whoever gets this as a gift should waste it by disposing of it as a discarded item. This is addressed in a hadith narrated by Ibn Abbas, he said: “A man gave the Messenger of Allah, may Allah bless him and grant him peace, a small water-skin of wine. The Messenger of Allah, may Allah bless him and grant him peace, said to him, ‘Don’t you know that Allah has made it haram?’ He said, ‘No.’ Then a man at his side whispered to him. The Messenger of Allah, may Allah bless him and grant him peace, asked what he had whispered, and the man replied, ‘I told him to sell it.’ The Messenger of Allah, may Allah bless him and grant him peace, said, ‘The One who made drinking it haram has made selling it haram.’ The man then opened the water- skins and poured out what was in them .” [Sahih Muslim]

This reports points to the fact that he, may Allah’s peace and blessings be upon him, forfeited its utilization by whatever means.