Umm Mubashir informed me that she heard the Prophet ﷺ say while at Hafsah's home, "None of the Companions of the Tree, those who pledged allegiance beneath it, will enter the Fire, Allah willing."Hafsah said, "Yes they will, Messenger of Allah."He rebuked her, but she replied, "And there is none of you except he will come to it" [Maryam 19:71].The Prophet ﷺ then said, "Allah has also said, "Then We will save those who feared Allah and leave the wrongdoers within it, on their knees" [Maryam 19:72]."
أخبرتني أم مبشر أنها سمعت النبي ﷺ يقول عند حفصة: لا يدخل النار إن شاء الله من أصحاب الشجرة أحد الذين بايعوا تحتها. قالت: بلي يا رسول الله فانتهرها فقالت حفصة: {وإن منكم إلا واردها} [مريم: ٧١] فقال النبي ﷺ: قد قال الله عز وجل: {ثم ننجي الذين اتقوا ونذر الظالمين فيها جثيا} [مريم: ٧٢].
Muslim narrated it in the Virtues of the Companions (2496), from Harun bin Abdullah, who said, Hajjaj bin Muhammad told us, he said, Ibn Jurayj said, Abu Zubayr informed me that he heard Jabir bin Abdullah, and he mentioned it.