The Prophet ﷺ said, "I hope that, Allah Most High willing, no one who was present at Badr or al-Hudaybiyah will enter the Fire."She said, I asked, "Messenger of Allah, has Allah not said, 'There is not one of you but will come to it. This is, with your Lord, a decree which must be fulfilled' [Maryam 19:71]?"He replied, "Have you not heard Him say, 'Then We shall deliver those who guarded against evil, and We shall leave the wrongdoers therein on their knees' [Maryam 19:72]?"
حدثنا أبو بكر بن أبي شيبة حدثنا أبو معاوية عن الأعمش عن أبي سفيان عن جابر عن أم مبشر
قال النبي ﷺ إني لأرجو ألا يدخل النار أحد إن شاء الله تعالى ممن شهد بدرا والحديبية قالت قلت يا رسول الله أليس قد قال الله {وإن منكم إلا واردها كان على ربك حتما مقضيا} قال ألم تسمعيه يقول {ثم ننجي الذين اتقوا ونذر الظالمين فيها جثيا}
Sourcing, sahih. Ahmad narrated it: 6/285, from Abu Muawiya, through him, and he explicitly stated hearing it. It has a corroborating witness in Sahih Muslim, Merits of the Companions, chapter on the merits of the people of the tree, the people of the Pledge of Ridwan , hadith 2496/1630, and through it the hadith is confirmed as sound.