The Night Journey - 17:15 Whoever is guided is guided for himself. Whoever goes astray goes astray to his own detriment. No one bears the burden of another. We do not punish anyone without sending a messenger
Allah does not impute anyone's sin to another:
The Cattle/6:164 "Say: "Shall I seek a Lord besides Allah, when He is the Lord of all? Everyone benefits from what he does, and no one bears the burden of anyone else. In the end your return is to your Lord. He will inform you of that in which you differ."

The One Wrapping Himself Up/74:38 Each person is condemned by his own sin.

The Cattle/6:69 The righteous are not held responsible for the account of such people. But it is good to remind them in case they listen.