مشكوة المصابيح Mishkat al-Masabih كتاب الحدود The Book of Legal Punishments
(خَلُّ الخَمْرِ أَيْضًا حَرَامٌ)

(The vinegar of wine is also forbidden)

1 hadith
Hadith 3641
وَعَنْ أَنَسٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ سُئِلَ عَنِ الْخَمْرِ يُتَّخَذُ خَلًّا؟ فَقَالَ: «لَا» . رَوَاهُ مُسلم
Anas told that the Prophet was asked about wine which was turned into vinegar* and forbade it. Muslim transmitted it. * This is said to have been done by putting onions or salt in it, or by placing it in the sun.
Hadith Reference Mishkat al-Masabih / The Book of Legal Punishments / Hadith: 3641
Hadith Grading الألبانی: صَحِيح  |  زبیر علی زئی: صحيح
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «رواه مسلم (1983/11)»