Mishkat al-Masabih
Book 30, Hadith 241
وَعَنْ حَفْصَةَ قَالَتْ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنِّي لَأَرْجُو أَنْ لَا يَدْخُلَ النَّارَ إِنْ شَاءَ اللَّهُ أَحَدٌ شَهِدَ بَدْرًا وَالْحُدَيْبِيَةَ» قُلْتُ: يَا رَسُولَ اللَّهِ أَلَيْسَ قَدْ قَالَ اللَّهُ تَعَالَى: [وَإِنْ مِنْكُمْ إِلَّا واردها] قَالَ: " فَلَمْ تَسْمَعِيهِ يَقُولُ: [ثُمَّ نُنَجِّي الَّذِينَ اتقَوا] " وَفِي رِوَايَةٍ: «لَا يَدْخُلُ النَّارَ إِنْ شَاءَ اللَّهُ مِنْ أَصْحَابِ الشَّجَرَةِ - أَحَدُ - الَّذِينَ بَايَعُوا تحتهَا» . رَوَاهُ مُسلم
Hafsa reported that the Messenger of Allah ﷺ said: ‘I hope, if Allah wills, that no one who witnessed Badr and al-Hudaybiyya will enter the Fire.’ I said: ‘Messenger of Allah, has Allah Most High not said: ‹There is none of you but will come to it›?’ He said: ‘Did you not hear Him say: ‹Then We will save those who were mindful of Allah›?’ In another narration: ‘No one of the Companions of the Tree who pledged allegiance beneath it will enter the Fire, if Allah wills.’ Muslim transmitted it.