Sayyidah Hafsah (may Allah be pleased with her) says that the Prophet (peace and blessings be upon him) said: "I hope that, if Allah wills, none of those who were present at Badr and al-Hudaybiyah will enter the Fire." I said: O Messenger of Allah! 'There is none of you but will pass over it; that is, for your Lord, a decree that has been settled.' [Surah Maryam: 71] He (peace and blessings be upon him) said: "Have you not heard that Allah Almighty says: 'Then We will save those who were God-fearing and leave the wrongdoers therein, fallen on their knees.' [Surah Maryam: 72]?"
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 19667