Translation
(78) Good Manners and Form (Al-Adab)
كتاب الأدب
(3) Chapter: One should not go for Jihad without the permission of the parents
(3) باب لاَ يُجَاهِدُ إِلاَّ بِإِذْنِ الأَبَوَيْنِ
Sahih al-Bukhari 5972 

Narrated `Abdullah bin `Amr:

A man said to the Prophet, "Shall I participate in Jihad?" The Prophet (ﷺ) said, "Are your parents living?" The man said, "Yes." the Prophet (ﷺ) said, "Do Jihad for their benefit."

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنْ سُفْيَانَ، وَشُعْبَةَ، قَالاَ حَدَّثَنَا حَبِيبٌ، ح قَالَ وَحَدَّثَنَا مُحَمَّدُ بْنُ كَثِيرٍ، أَخْبَرَنَا سُفْيَانُ، عَنْ حَبِيبٍ، عَنْ أَبِي الْعَبَّاسِ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو، قَالَ قَالَ رَجُلٌ لِلنَّبِيِّ صلى الله عليه وسلم أُجَاهِدُ‏.‏ قَالَ ‏"‏ لَكَ أَبَوَانِ ‏"‏‏.‏ قَالَ نَعَمْ‏.‏ قَالَ ‏"‏ فَفِيهِمَا فَجَاهِدْ ‏"‏‏.‏
Reference : Sahih al-Bukhari 5972
In-book reference : Book 78, Hadith 3
USC-MSA web (English) reference : Vol. 8, Book 73, Hadith 3
  (deprecated numbering scheme)