Assuming $\mathfrak{h}$ is indeed an ideal (to make sense of the statement, as noted by Qiaochu), saying that $\mathfrak{g}/\mathfrak{h}$ is abelian means that for any $x,y \in \mathfrak{g}$, $[x,y]\in\mathfrak{h}$, hence $[\mathfrak{g},\mathfrak{g}]\subset\mathfrak{h}$. Now consider the application
$$
\pi :\mathfrak{g}/[\mathfrak{g},\mathfrak{g}] \rightarrow \mathfrak{g}/\mathfrak{h}\\
\pi:x+[\mathfrak{g},\mathfrak{g}] \mapsto x+\mathfrak{h}
$$
It is well-defined because $[\mathfrak{g},\mathfrak{g}]\subset\mathfrak{h}$, and it is obiously linear, and commutes with the bracket. Now by elementary commutative algebra, $\mathfrak{g}/\mathfrak{h}$ is isomorpic to the quotient of $\mathfrak{g}/[\mathfrak{g},\mathfrak{g}]$ by the kernel of $\pi$, which is precisely what you want (following the remark of Ted).