Say we have a confounder $U$ between $X$ and $Y$, i.e. graphically, $U\rightarrow X$ and $U \rightarrow Y$, $X$ and $Y$ are not directly connected.
According to the d-seperation rule, I know conditioning on $U$ will break the correlation between $X$ and $Y$, i.e. $X\perp Y|U$.
However, what I want to ask is that, if we have a parent of $U$, say $P \rightarrow U \rightarrow X$, and $P \rightarrow U \rightarrow Y$, $X$ and $Y$ are not directly connected. Will conditioning on $P$ d-seperate the correlation between $X$ and $Y$, i.e. $X \perp Y|P$?
I think of this problem using the structure causal model (SCM). I think conditioning on $P$ will not entirely break the correlation between $X$ and $Y$, because $u=f(p)+\epsilon$, and the exogenous variable $\epsilon$ is assumed to be independent with $P$.
Don't know whether my thinking is correct. Hopeful for some help. Thanks in advance!