simplify \left(\sqrt{5}\right)^{2}

To simplify this expression, we can raise the square root of 5 to the power of 2, which is equal to 5.

So, \(\left(\sqrt{5}\right)^{2}\) simplifies to \boxed{5}.