We extend an uncertainty principle due to Cowling and Price to Euclidean spaces, Heisenberg groups and the Euclidean motion group of the plane. This uncertainty principle is a generalisation of a classical result due to Hardy. We also show that on the real line this uncertainty principle is almost equivalent to Hardy's theorem.