If $f:\mathbb{R}\to\mathbb{Q}$ is continuous, then it is constant. Are there infinite connected $T_2$-spaces $X,Y$ such that the only continuous maps $f:X\to Y$ are the constant maps?