Sahih al-Bukhari 3077
Book 56: Fighting for the Cause of Allah (Jihaad) · Narrated by Ibn `Abbas
Arabic
حَدَّثَنَا آدَمُ بْنُ أَبِي إِيَاسٍ، حَدَّثَنَا شَيْبَانُ، عَنْ مَنْصُورٍ، عَنْ مُجَاهِدٍ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم يَوْمَ فَتْحِ مَكَّةَ " لاَ هِجْرَةَ وَلَكِنْ جِهَادٌ وَنِيَّةٌ، وَإِذَا اسْتُنْفِرْتُمْ فَانْفِرُوا ".
English translation
Narrated Ibn `Abbas:The Prophet (ﷺ) said, on the day of the Conquest of Mecca, "There is no migration (after the Conquest), but Jihad and good intentions, and when you are called for Jihad, you should immediately respond to the call
Reference: Sahih al-Bukhari 3077, Book of Fighting for the Cause of Allah (Jihaad). English translation by Dr. Muhammad Muhsin Khan.