Abdullah bin Abbas reported,

When the Prophet ﷺ was driven out of Mecca, Abu Bakr said, "They have driven out their Prophet, they shall surely perish."Then Allah Almighty revealed, "Permission is given to those who are being fought because they have been wronged, and indeed Allah is fully capable of granting them victory" [Hajj 22:39].Abu Bakr said, "I knew then that there would be fighting."He said, this is a hasan hadith. Abdul-Rahman bin Mahdi and others narrated it from Sufyan, from Amash, from Muslim al-Batin, from Saeed bin Jubayr, from the Prophet ﷺ, with Ibn Abbas mentioned in the chain. It was also narrated by another route from Sufyan, from Amash, from Muslim al-Batin, from Saeed bin Jubayr in mursal form, without mentioning Ibn Abbas.

Tirmidhi 3171

Sahih

حدثنا سفيان بن وكيع حدثنا أبي وإسحق بن يوسف الأزرق عن سفيان الثوري عن الأعمش عن مسلم البطين عن سعيد بن جبير

عن ابن عباس قال

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

الترمذي 3171صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Hajj
Numbering
Darussalam 3171
Tirmidhi 3171