Jabir bin Abdullah reported,

Some of the companions of the Prophet ﷺ drank wine in the morning, and were then killed as martyrs on the day of Uhud. The Jews said, "Some of those who were killed died with it still in their stomachs." So Allah the Exalted revealed, "There is no blame upon those who believe and do righteous deeds for what they have eaten" [Maidah 5:93].

Azami 7452

Sahih

عن جابر بن عبد الله قال

اصطبح ناس الخمر من أصحاب النبي ﷺ ثم قتلوا شهداء يوم أحد، فقالت اليهود: فقد مات بعض الذين قتلوا وهي في بطونهم فأنزل الله تعالى: {ليس على الذين ءامنوا وعملوا الصلحت جناح فيما طعموا}.

الأعظمي 7452صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Drinks
Section
Pardon for those who drank wine and died before its prohibition
Numbering
Jami al-Kamil 7452 (2nd edition)
Azami 7452