(3) باب لاَ يُجَاهِدُ إِلاَّ بِإِذْنِ الأَبَوَيْنِ
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(deprecated numbering scheme): Vol. 8, Book 73, Hadith 3