Abdullah bin Amr bin As reported,

A man came to the Prophet of Allah ﷺ and said, "I pledge allegiance to you for emigration and struggle, seeking reward from Allah."The Prophet ﷺ asked, "Is either of your parents still alive?"The man replied, "Yes, both of them."The Prophet ﷺ asked, "And you seek reward from Allah?"He answered, "Yes."The Prophet ﷺ said, "Then return to your parents and keep them excellent company."

Muslim 6507

Sahih

حدثنا سعيد بن منصور حدثنا عبد الله بن وهب أخبرني عمرو بن الحارث عن يزيد بن أبي حبيب أن ناعما مولى أم سلمة حدثه أن

عبد الله بن عمرو بن العاص قال

أقبل رجل إلى نبي الله ﷺ فقال أبايعك على الهجرة والجهاد أبتغي الأجر من الله قال فهل من والديك أحد حي قال نعم بل كلاهما قال فتبتغي الأجر من الله قال نعم قال فارجع إلى والديك فأحسن صحبتهما

مسلم 6507صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Honoring parents and that they are most deserving of it
Numbering
Darussalam 6507
Muslim 6507