Let $L$ be a Lie algebra over a field of characteristic $p>0$ and $D$ a derivation of $L$. For every $x\in L$ denote by $\mathrm{ad} x$ the adjoint map $\mathrm{ad}x: L \rightarrow L, a\mapsto [x,a]$. Is the following relation true?
$$D^{p-1}((\mathrm{ad} x)^{p-1}(D(x)))=(\mathrm{ad} x)^{p-1}(D^p(x))$$
I proved it for small values of $p$, but I am not able to find a general argument. In the case the result is well-known, a reference will be very welcome.