Sahih al-Bukhari, Book 78, Hadith 3 (Bukhari 5744)

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."