Heavy rain lashed Mumbai and large parts of coastal and western Maharashtra on Wednesday, providing welcome relief from the extended summer here.