Let $X=\Bbb R\times\{-1,0,1\}$, and for convenience set $X_i=\Bbb R\times\{i\}$ for $i\in\{-1,0,1\}$. Points of $X_0$ are isolated. For $p=\langle x,-1\rangle\in X_{-1}$, $q=\langle x,1\rangle\in X_1$, $\epsilon>0$, and countable $C\subseteq\Bbb R$ let
$$B(p,\epsilon,C)=\{p\}\cup\Big(\big((x-\epsilon,x)\setminus C\big)\times\{0\}\Big)$$
and
$$B(q,\epsilon,C)=\{q\}\cup\Big(\big((x,x+\epsilon)\setminus C\big)\times\{0\}\Big)\;;$$
the sets $B(p,\epsilon,C)$ and $B(q,\epsilon,C)$ for $\epsilon>0$ and countable $C\subseteq\Bbb R$ are local bases at $p$ and $q$. $X$ with this topology is Hausdorff.
Now define an equivalence relation $\sim$ on $X$ by $\langle x,i\rangle\sim\langle y,j\rangle$ iff $i=j$, and either $i\ne 0$, or $x-y\in\Bbb Q$. Let $Y=X/\!\!\sim$, and let $f:X\to Y$ be the quotient map; $f$ is of course continuous.
Let $y_{-1}$ and $y_1$ be the points of Y corresponding to $X_{-1}$ and $X_1$, respectively. Suppose that $U$ is an open nbhd of $y_i$ in $Y$ for $i\in\{-1,1\}$. Clearly $X_i\subseteq f^{-1}[U]$, so for each $p\in\Bbb R$ there are $\epsilon_p>0$ and countable $C_p\subseteq\Bbb R$ such that
$$B(\langle p,i\rangle,\epsilon_p,C_p)\subseteq f^{-1}[U]\;.$$
Let $A=\{p\in\Bbb R:\langle p,0\rangle\notin f^{-1}[U]\}$, and suppose that $A$ is uncountable; then there is $p\in A$ such that $(p-\epsilon_p,p)\cap A$ and $(p,p+\epsilon_p)\cap A$ are uncountable. But then $C_p$ must be uncountable, which is impossible. Thus, $A$ is countable, and it follows that $X_0\setminus f^{-1}[U]$ is countable. Clearly, then, $y_{-1}$ and $y_1$ do not have disjoint open nbhds in $Y$, which is therefore not Hausdorff. Indeed, since the $\sim$-equivalence classes of $X_0$ are countable, this shows that open nbhds of $y_{-1}$ and $y_1$ are co-countable in $Y$.
Conversely, if $U$ is a co-countable subset of $Y$ containing $y_i$ for some $i\in\{-1,1\}$, then $X_0\setminus f^{-1}[U]$ is countable, so $f^{-1}[U]$ and therefore $U$ are open. Thus, the open nbhds of $y_i$ are precisely the co-countable subsets of $Y$ containing $y_i$, and it follows that $f[B(\langle p,i\rangle,\epsilon,C)]$ is open in $Y$ for each $\langle p,i\rangle\in X\setminus X_0$, $\epsilon>0$, and countable $C\subseteq\Bbb R$. It’s clear that $f[X_0]$ is a discrete open subset of $Y$, so $f$ is an open map.
Now suppose that $F\subseteq X$ is closed. If $F\cap X_0$ is countable, then $f[F]$ is countable and hence closed in $Y$. If $F\cap X_0$ is uncountable, let $A=\{x\in\Bbb R:\langle x,0\rangle\in F\}$. Then there is an $x_0\in A$ such that $(u,x_0)\cap A$ and $(x_0,v)\cap A$ are uncountable whenever $u<x_0<v$, and therefore $\langle x_0,-1\rangle,\langle x_0,1\rangle\in\operatorname{cl}(F\cap X_0)\subseteq F$. Thus, $y_{-1},y_1\in f[F]$, so $Y\setminus f[F]\subseteq f[X_0]$; thus, $Y\setminus f[F]$ is open, and $f[F]$ is closed. This shows that $f$ is a closed map.