Umm Mubashir reported,

The Messenger of Allah ﷺ was in the house of Hafsah when he said, "No one who witnessed Badr and Hudaybiyah will enter the Fire."Hafsah asked, "Does Allah عز وجل not say, 'And there is none of you except he will come to it' [Maryam 19:71]?"The Messenger of Allah ﷺ replied, "Listen to what follows, 'Then We will save those who feared Allah and leave the wrongdoers within it on their knees' [Maryam 19:72]."

Azami 10074

Sahih

عن أم مبشر امرأة زيد بن حارثة، قالت

كان رسول الله ﷺ في بيت حفصة فقال: لا يدخل النار أحد شهد بدرا والحديبية. قالت حفصة: أليس الله عز وجل يقول: {وإن منكم إلا واردها} قال رسول الله ﷺ: فمه {ثم ننجي الذين اتقوا ونذر الظلمين فيها جثيا}.

الأعظمي 10074صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the Companions and reports about them
Chapter
Virtue of groups of the Companions
Section
Virtues of the people of Badr and Hudaybiya together
Numbering
Jami al-Kamil 10074 (2nd edition)
Azami 10074