No act of worship done by disobedient offspring is accepted
Dear Islamic brothers! We repent to Allah عَزَّوَجَلَّ the Most Merciful and Forgiving, begging Him for safety in the Hereafter. Alas! Hurting the feelings of parents is a cause of disgrace and severe torment. It is stated in a Ḥadīš, ‘عَذَابُ الۡقَبۡرِ حَقٌّ’ i.e. Torment of the grave is the truth. (Sunan Nasāī, pp. 225, Ḥadīš 1305)
Sometimes a glimpse of it is also shown in the world so that people may learn a lesson from it. A’lā Ḥaḍrat, Imām-e-Aĥl-e-Sunnat, Mujaddid of Ummaĥ, Shāĥ Imām Aḥmad Razā Khān عَـلَيْهِ رَحْمَةُ الـرَّحْمٰن has stated in answer to a question regarding the one who disobeys his father: Disobedience to the father is disobedience to Allah عَزَّوَجَلَّ. If a person pleases his parents, they are his Paradise, and if he displeases them, then they are his Hell. None of his good deeds whether Farḍ or Nafl will beaccepted at all until he pleases his father. In addition to the torment of the Hereafter, severe calamities will befall him in the world. There is also a danger of him not reciting Kalimaĥ at the time of death, مَـعَـاذَالـلّٰـه عَزَّوَجَلَّ.
(Fatāwā Razawiyyaĥ, vol. 24, pp. 384-385)
مَـعَـاذَالـلّٰـه عَزَّوَجَلَّ! Even if parents are unbelievers, it is still necessary to treat them with kindness remaining within the bounds of Sharī’aĥ. On page 452 of Baĥār-e-Sharī’at, vol. 2 [the 1182-page publication of Maktaba-tul-Madīnaĥ, the publishing department of Dawat-e-Islami], Ṣadr-ush-Sharī’aĥ, Badr-uṭ-Ṭarīqaĥ, ‘Allāmaĥ Maulānā Muftī Muhammad Amjad ‘Alī A’ẓamī عَـلَيْهِ رَحْـمَةُ الـلّٰـهِ الۡـقَـوِی has stated with reference of ‘Ālamgīrī, ‘If the father or the mother of a Muslim is unbeliever and asks him to take them to a temple, he should not take them. However, if they ask him to bring them back from the temple, then he can bring them back.’ (Fatāwā ‘Ālamgīrī, vol. 2, pp. 350)