Let $f(x)$ be an integer-valued polynomial (when $x\in \mathbb{Z}$, then $f(x)\in \mathbb{Z}$), and $a,b$ be positive integers, and $p$ be a prime number with $(a,p)=1$.
Show that $$\sum_{x=0}^{p-1}\left(\dfrac{f(ax+b)}{p}\right)=\sum_{x=0}^{p-1}\left(\dfrac{f(x)}{p}\right)$$
If $f(x)=x$, it is well known $$\sum_{x=0}^{p-1}\left(\dfrac{ax+b}{p}\right)=\sum_{x=0}^{p-1}\left(\dfrac{x}{p}\right)=0$$