عن سعيد بن جبير، قال: مات رجل نصراني وله ابن مسلم، فلم يتبعه فقال ابن عباس: كان ينبغي له أن يتبعه، ويدفنه، ويستغفر له في حياته
Imam Abu Bakr ibn Abi Shaybah (rahimahullah) has recorded this narration with a reliable chain.
(Musannaf Ibn Abi Shaybah, Hadith: 11969-11971)
A Christian man passed away. He had a Muslim son who did not follow the janazah. Sayyiduna ‘Abdullah ibn ‘Abbas (radiyallahu ‘anhuma) said, ‘He should have followed the janazah and buried him and he should have [made du’a for guidance] for him while he was alive.
(Refer: Fathul Bari, Hadith: 6397)
Note: I have merely answered your question regarding the authenticity of the narration. Kindly consult a Mufti/Darul Ifta for a Fiqh ruling.
And Allah Ta’ala knows best.
Answered by: Moulana Suhail Motala
Approved by: Moulana Muhammad Abasoomar
Checked by: Moulana Haroon Abasoomar