I found in a paper the folowing derivative:
$$\frac{\partial f(X(\theta),\theta)}{\partial \theta}=\frac{\partial f(X(\theta),\theta)}{\partial X(\theta)}\frac{\partial X(\theta)}{\partial \theta}+\frac{\partial f(X(\theta),\theta)}{\partial \theta}$$
How they get this derivative?
This is bad notation. It could instead be written as
$$g(\theta)=f(X(\theta),\theta)$$
$$g'(\theta)=f^{(1,0)}(X(\theta),\theta)\cdot X'(\theta)+f^{(0,1)}(X(\theta),\theta)$$
where $f^{(p,q)}$ denotes a partial derivative of $f$. This is the multivariable chain rule.
See also this.