The only way for this goal to stand is if the rules have been changed and hands no longer count as offside.
In that case, Rüdiger's hand would have kept De Ligt and Mazraoui onside. But in reality, hands are not considered onside. Which makes De Ligt and Mazraoui offside.
Linesman prematurely raising flag is a separate issue, and he should have kept it down