\documentclass{article}
\usepackage{amsthm}
\newtheorem{thm}{Theorem}
\usepackage{hyperref}

\begin{document}
\vspace*{184mm}
The quick brown fox jumps over the lazy dog.

\begin{thm}\label{thm1}
The quick brown fox jumps over the lazy dog.
\end{thm}

Link: \ref{thm1}
\end{document}
