Abdullah bin Abbas reported,

They asked, "Messenger of Allah, what about those who died while still drinking wine, before the prohibition of wine was revealed?"So the verse was revealed, "There is no blame upon those who believe and do righteous deeds for what they have eaten, so long as they fear Allah, believe, and do righteous deeds" [Maidah 5:93].

Tirmidhi 3052

Hasan

حدثنا عبد بن حميد حدثنا عبد العزيز بن أبي رزمة عن إسرائيل عن سماك عن عكرمة

عن ابن عباس قال

قالوا يا رسول الله أرأيت الذين ماتوا وهم يشربون الخمر لما نزل تحريم الخمر فنزلت {ليس على الذين آمنوا وعملوا الصالحات جناح فيما طعموا إذا ما اتقوا وآمنوا وعملوا الصالحات}

الترمذي 3052حسن
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Maidah
Numbering
Darussalam 3052
Tirmidhi 3052