Abdullah bin Abbas reported,

When the Prophet ﷺ was driven out of Mecca, Abu Bakr said, "They have driven out their Prophet. Truly, to Allah we belong and to Him we shall return. They will surely be destroyed."Then the verse was revealed, "Permission to fight is given to those who are being fought, because they have been wronged. And indeed, Allah is competent to give them victory" [Hajj 22:39].Abu Bakr said, "Then I knew there would be fighting."Ibn Abbas said, "This was the first verse revealed concerning fighting."

Azami 8707

Hasan

عن عبد الله بن عباس قال

لما أخرج النبي ﷺ من مكة قال أبو بكر: أخرجوا نبيهم، إنا لله وإنا إليه راجعون، ليهلكن فنزلت {أذن للذين يقتلون بأنهم ظلموا وإن الله على نصرهم لقدير} [الحج: ٣٩] فعرفت أنه سيكون فقال: قال ابن عباس: فهي أول آية نزلت في القتال.

الأعظمي 8707حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Events between the Hijrah and the Battle of Badr
Section
Permission to fight
Numbering
Jami al-Kamil 8707 (2nd edition)
Azami 8707