A topological analogue of Mostow’s rigidity theorem