Derivation (charge conservation from Maxwell's equations)
$$ \begin{align*} \pdfd{ρ}{t} + ∇\cdot \v J ={}& ε_0 \pdd{t}(∇\cdot \v E) + ∇\cdot \v J && \text{by (M1)}\\ ={}& ∇\cdot \left(\v J + ε_0 \pdfd{\v E}{t}\right) \\ ={}& \frac{1}{μ_0} ∇\cdot(∇\times \v B) &&\text{by (M4)}\\ ={}& 0 \end{align*} $$ using this result.