Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:46:17

But one who says to his parents, "Uff to you; do you promise me that I will be brought forth ˹from the earth˺ when generations before me have already passed on ˹into oblivion˺?" while they call to Allah for help ˹and to their son˺, "Woe to you! Believe! Indeed, the promise of Allah is truth." But he says, "This is not but legends of the former people" -  

As for him who says to his parents (li-wālidayhi: a variant reading has li-wālidihi, ‘his parent’, denoting the generic noun): ‘Fie (read uffin or uffan, as a verbal noun, meaning: ‘˹something˺ putrid and disgusting’) on you both: I am exasperated at both of you. Do you threaten me (a-ta‘idāninī: a variant reading has ata‘idānnī) that I shall be raised, from the grave, when already generations, communities, have passed away before me?’, and they have not been raised from their graves. And they call on God for succour, that he ˹their child˺ repent, saying ˹to him˺: if you do not repent, ‘Woe to you (waylaka, that is to say, halākaka, ‘you are ruined!’). Believe!, in resurrection. Surely God’s promise is true’. But he says, ‘This, belief in resurrection, is nothing but the fables of the ancients’, lies of theirs.
القرآن:٤٦:١٧

وَالَّذِي قَالَ لِوَالِدَيْهِ أُفٍّ لَكُمَا أَتَعِدَانِنِي أَنْ أُخْرَجَ وَقَدْ خَلَتِ الْقُرُونُ مِنْ قَبْلِي وَهُمَا يَسْتَغِيثَانِ اللَّهَ وَيْلَكَ آمِنْ إِنَّ وَعْدَ اللَّهِ حَقٌّ فَيَقُولُ مَا هَٰذَا إِلَّا أَسَاطِيرُ الْأَوَّلِينَ  

{والذي قال لوالديه} وفي قراءة بالإدغام أريد به الجنس {أفَِ} بكسر الفاء وفتحها بمعنى مصدر، أي نتنا وقبحا {لكما} أتضجر منكما {أتعدانني} وفي قراءة بالإدغام {أن أخرج} من القبر {وقد خلت القرون} الأمم {من قبلي} ولم تخرج من القبور {وهما يستغيثان الله} يسألانه الغوث برجوعه ويقولان إن لم ترجع {ويلك} أي هلاكك بمعنى هلكت {آمن} بالبعث {إن وعد الله حق فيقول ما هذا} أي القول بالبعث {إلا أساطير الأولين} أكاذيبهم.