Note first that, by the homogeneity of the Cayley graphs G_n and G_{n'}, we may assume that e and e' emanate from the identity vertex of each graph.
Let G_\infty be the Cayley graph of \mathrm{SL}(2, \mathbb{Z}) with respect to the generators
S_\infty = \left \{ \left(
\begin{matrix}
1 & 1 \\
0 & 1
\end{matrix}
\right),
\left(
\begin{matrix}
1 & 0 \\
1 & 1
\end{matrix}
\right) \right \}.
Let e_\infty be the s-labelled edge emanating from the identity vertex of G_\infty. The quotient homomorphism
\mathrm{SL}(2, \mathbb{Z}) \rightarrow \mathrm{SL}(2, \mathbb{Z}_n)
induces a graph homomorphism G_\infty \rightarrow G_n sending e_\infty to e. We will show that it restricts to a graph isomorphism
N_2(e_\infty) \rightarrow N_2(e).
As there is a similar graph isomorphism N_2(e_\infty) \rightarrow N_2(e'), the proposition will follow.
Note that two elements of \mathrm{SL}(2, \mathbb{Z}) map to the same element of \mathrm{SL}(2, \mathbb{Z}_n) if and only if they differ by multiplication by an element of the kernel K_n. This is
K_n =
\left \{
\left (
\begin{matrix}
a & b \\
c & d
\end{matrix}
\right )
\in \mathrm{SL}(2, \mathbb{Z}) :
a \equiv d \equiv 1 \text{ mod } n \text{ and } b \equiv c \equiv 0 \text{ mod } n
\right \}.
The graph homomorphism sends edges to edges, and so it is distance non-increasing. Hence it certainly sends N_2(e_\infty) to N_2(e). It is also clearly surjective, because any element of N_2(e) is reached from an endpoint of e by a path of length at most 2, and there is a corresponding path in N_2(e_\infty).
We just need to show that this is an injection. If not, then two distinct vertices g_1 and g_2 in N_2(e_\infty) map to the same vertex in N_2(e). Note then that as elements of \mathrm{SL}(2, \mathbb{Z}), g_2 = g_1 k for some k \in K_n. There are paths with length at most 3 joining the identity 1 to g_1 and g_2 respectively. Hence, the distance in G_\infty between g_1 and g_2 is at most 6. Therefore, the distance between 1 and g_1^{-1} g_2 is at most 6. This element g_1^{-1} g_2 lies in K_n. We will show that when n > 18, the only element of K_n that has distance at most 6 from the identity is the identity itself. This will imply that g_1^{-1} g_2 = 1 and hence g_1 = g_2. But this contradicts the assumption that g_1 and g_2 are distinct vertices. Our argument follows that of [margulis1982explicit].
The operator norm ||A|| of a matrix A \in \mathrm{SL}(2, \mathbb{Z}) is
||A|| = \sup \{ |A(v)| : v \in \mathbb{R}^2, \, |v| = 1 \}.
This is submultiplicative: ||AB|| \leq ||A|| \, ||B|| for matrices A and B. It can be calculated as the square root of the largest eigenvalue of A^t A. In our case, the operator norms satisfy
\left \|
\left (
\begin{matrix}
1 & 1 \\
0 & 1
\end{matrix}
\right )
\right \|
=
\left \|
\left (
\begin{matrix}
1 & 0 \\
1 & 1
\end{matrix}
\right )
\right \|
= \frac{1 + \sqrt{5}}{2}.
Consider an element
K = \left (
\begin{matrix}
a & b \\
c & d
\end{matrix}
\right )
of K_n that is not the identity. Since a \equiv d \equiv 1 modulo n and b \equiv c \equiv 0 modulo n, we deduce that at least one |a|, |b|, |c| and |d| is at least n-1. Therefore, this matrix acts on one of the vectors (1,0)^t or (0,1)^t by scaling its length by at least n-1. Therefore, ||K|| \geq n-1. Suppose now that K has distance at most 6 from the identity. Then K can be written as a word in the generators of \mathrm{SL}(2, \mathbb{Z}) with length at most 6. Therefore, we obtain the inequality
||K|| \leq \left ( \frac{1 + \sqrt{5}}{2} \right)^6 < 17.95.
Hence, n < 18.95 and therefore, as n is integral, n \leq 18.