Riyad as-Salihin, Book 1, Hadith 321 (In-Book) ⓘ
'Abdullah bin 'Amr bin Al-'as (May Allah be pleased with them) reported: A man came to the Prophet of Allah and said, "I swear allegiance to you for emigration and Jihad, seeking reward from Allah." He said, "Is any of your parents alive?" He said, "Yes, both of them are alive." He then asked, "Do you want to seek reward from Allah?" He replied in the affirmative. Thereupon Messenger of Allah said, "Go back to your parents and keep good company with them".[Al-Bukhari and Muslim].In another narration it is reported that a person came to Messenger of Allah and sought his permission to participate in Jihad. The Prophet asked, "Are your parents alive?" He replied in the affirmative. The Prophet a said, "(You should) consider their service as Jihad."
وعن عبد الله بن عمرو بن العاص رضي الله عنهما قال: أقبل رجل إلى نبي الله صلى الله عليه وسلم، فقال: أبايعك على الهجرة والجهاد أبتغي الأجر من الله تعالى. قال: "فهل لك من والديك أحد حي؟" قال: نعم بل كلاهما قال: "فتبتغي الأجر من الله تعالى؟" قال: نعم. قال "فارجع إلى والديك، فأحسن صحبتهما" ((متفق عليه. وهذا لفظ مسلم)). وفي رواية لهما: جاء رجل فاستأذنه في الجهاد فقال "أحي والداك؟ قال: نعم، قال: "ففيهما فجاهد".