Man gets seven years rigorous imprisonment for raping girl