Shaykh Ṣāliḥ ibn Fawzān al-Fawzān explains that if a person dies abandoning the prayer intentionally, good deeds performed on their behalf, including charity and fasting, will not benefit them. Forgiveness should not be sought for such a person if they died in that state.
Shaykh, the father of my daughters passed away, his fast was inconsistent, meaning he did not fast during Ramaḍān, is it permissible to give charity
Did he used to pray? Did he safeguard the prayer?
By Allah, by Allah ﷻ he used to avoid his prayers.
Meaning he used to abandon some of his prayers?
Yes, he used to abandon them. He used to abandon many of them.
And he died in that state without repenting?
By Allah ﷻ he used to pray sometimes at home. Sometimes he would pray the Friday prayer. Sometimes, sometimes.
No, what I mean is did he completely abandon the prayer, I don’t mean if he didn’t pray in congregation.
No, he never prayed with the congregation ever.
So he didn’t used to leave the prayer.
He abandoned it O’ Shaykh,
Intentionally?
Out of laziness, it was out of laziness.
Fasting should not be performed on his behalf since good deeds will not benefit him.
Not even charity?
If he died in that state. Not even charity on his behalf and forgiveness is not sought for him.