There came to Allah's Apostle ﷺ a person and said: I owe allegiance to you for migration and Jihad seeking reward only from Allah. He (the Holy Prophet) said: Is one from amongst your parents living? He said: Yes, of course, both are living. He further asked: Do you want to seek reward from Allah? He said: Yes. Thereupon Messenger of Allah ﷺ said: Go back to your parents and accord them benevolent treatment. (Using translation from Muslim 2549d)
أُبَايِعُكَ عَلَى الْهِجْرَةِ أَوِ الْجِهَادِ أَبْتَغِي الْأَجْرَ مِنَ اللهِ قَالَ فَهَلْ مِنْ وَالِدَيْكَ أَحَدٌ حَيٌّ؟ قَالَ نَعَمْ بَلْ كِلَاهُمَا قَالَ فَتَبْتَغِي الْأَجْرَ مِنَ اللهِ؟ قَالَ نَعَمْ قَالَ فَارْجِعْ إِلَى وَالِدَيْكَ فَأَحْسِنْ صُحْبَتَهُمَا