Hadith 6:1062
Waki’ narrated to us, from Abu Hilal, from Abu Ghalib, who said: I said to Abu Umamah, "A man drinks wine and then dies; should one pray over him?" He said, "Yes. Perhaps he lay upon his bed one time and said, 'There is no god but Allah,' and was forgiven for it."
حدثنا وكيع عن أبي هلال عن أبي غالب قال قلت لأبي أمامة الرجل يشرب الخمر فيموت أيصلي عليه قال نعم لعله اضطجع على فراشه مرة فقال لا إله إلا الله فغفر له بها