Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates from Sayyiduna Abu Talhah (may Allah be pleased with him) that he had bought wine for some orphans. Then when wine was made unlawful, he said: O Messenger of Allah! Shall I turn it into vinegar? He (peace and blessings be upon him) said: "No."
Hadith Referenceالمعجم الكبير للطبراني / باب الزاي / 4695