As others have noted above, you need to assume further that $a,b \neq 0$.
Let's define a map $\phi: \Bbb R \to \Bbb R/(b\Bbb Z)$, by:
$\phi(x) = \dfrac{b}{a}(x) + b\Bbb Z$.
It should be clear this is an additive homomorphsim, since:
$\phi(x + y) = \dfrac{b}{a}(x + y) + b\Bbb Z = \left(\dfrac{b}{a}x + \dfrac{b}{a}y\right) + b\Bbb Z$
$= \left(\dfrac{b}{a}x + b\Bbb Z\right) + \left(\dfrac{b}{a} + b\Bbb Z\right) = \phi(x) + \phi(y)$.
Note if $k \in \Bbb Z$, that $\phi(ak) = \dfrac{b}{a}(ak) + b\Bbb Z = bk + b\Bbb Z$,
and since $bk \in b\Bbb Z$, then $bk + b\Bbb Z = b\Bbb Z = 0_{\Bbb R/(b\Bbb Z)}$.
Thus $a\Bbb Z \subseteq \text{ker }\phi$.
On the other hand, if $x \in \text{ker }\phi$, we have:
$\dfrac{b}{a}x + b\Bbb Z = b\Bbb Z$, that is: $\dfrac{b}{a}x \in b\Bbb Z$, so:
$\dfrac{b}{a}x = bk$, for some $k \in \Bbb Z$, and since $b \neq 0$, by cancellation we have:
$\dfrac{x}{a} = k \in \Bbb Z$. Thus $x = ak \in a\Bbb Z$, so $\text{ker }\phi \subseteq a\Bbb Z$, and the two sets are equal.
Finally, by the First Isomorphism Theorem, we have $\Bbb R/(b\Bbb Z) \cong \Bbb R/(\text{ker }\phi) = \Bbb R/(a\Bbb Z)$.
People who have been doing this for years pretty much see it as "obvious" that since the map:
$x \mapsto \dfrac{b}{a}x + b\Bbb Z$
annihilates $a\Bbb Z$, it descends to a well-defined homomorphism $\overline{\phi}$ on the quotient $\Bbb R/(a\Bbb Z)$.
Proving $\overline{\phi}$ is injective is the "hard" part, which is why the previous two answers start instead with the isomorphism $f: \Bbb R \to \Bbb R$ given by:
$x \mapsto \dfrac{b}{a}(x)$ which is more clearly bijective from the get-go.
If $\pi_{b\Bbb Z}: \Bbb R \to \Bbb R/(b\Bbb Z)$ is the canonical quotient homomorphism, then:
$\phi = \pi_{b\Bbb Z} \circ f$, which hopefully sheds some light on the relationship between the two approaches.