Translation
(56) Fighting for the Cause of Allah (Jihaad)
كتاب الجهاد والسير
(27) Chapter: The obligation of going out for Jihad
(27) باب وُجُوبِ النَّفِيرِ وَمَا يَجِبُ مِنَ الْجِهَادِ وَالنِّيَّةِ
Sahih al-Bukhari 2825 

Narrated Ibn `Abbas:

On the day of the Conquest (of Mecca) the Prophet (ﷺ) said, "There is no emigration after the Conquest but Jihad and intentions. When you are called (by the Muslim ruler) for fighting, go forth immediately." (See Hadith No. 42)

حَدَّثَنَا عَمْرُو بْنُ عَلِيٍّ، حَدَّثَنَا يَحْيَى، حَدَّثَنَا سُفْيَانُ، قَالَ حَدَّثَنِي مَنْصُورٌ، عَنْ مُجَاهِدٍ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ يَوْمَ الْفَتْحِ ‏ "‏ لاَ هِجْرَةَ بَعْدَ الْفَتْحِ وَلَكِنْ جِهَادٌ وَنِيَّةٌ، وَإِذَا اسْتُنْفِرْتُمْ فَانْفِرُوا ‏"‏‏.‏
Reference : Sahih al-Bukhari 2825
In-book reference : Book 56, Hadith 41
USC-MSA web (English) reference : Vol. 4, Book 52, Hadith 79
  (deprecated numbering scheme)