As a Muslim, It’s best to have religion separated from state because of how much the bourgeois has turned religious sanctions against the proletariat.
Most religions are ahead of their times for aligning with Socialism to a degree, but unfortunately religious institutions are the ones bribed into cherry picking for the bourgeois. Pretty much what Marx noticed about his country’s churches always being pro war for the bourgeoisie’s agenda and yet abandoned everything Jesus said about feeding the poor and hungry.