A 15ft (4.5m) high wall collapsed on a cluster of tin-roofed huts housing migrant workers and their families in western India early on Saturday following heavy rain.
At least 16 people were killed, an official said.
The wall dividing the car parking area of a multi-storey residential apartment building collapsed in Pune, a city in Maharashtra state, fire official J Gaekwad said.
Three people were pulled out of the rubble alive and taken to hospital, he added.
The wall collapsed as the city was deluged by 2.8in (7.3cm) of rain on Friday, the second-highest rainfall for the month of June in the past nine years, the Press Trust of India news agency said.
The workers and their families were sleeping when the wall collapsed on them.
The victims were migrants from eastern Bihar state and northern Uttar Pradesh state. The migration of workers from these impoverished states to other places in India is common because of lack of job opportunities.
Bimal Sharma, who survived with minor injuries, said he escaped as some trees blocked the stones and vehicles that came down toward the huts, according to the Hindustan Times newspaper.
He shouted for help and was rescued by people living nearby. He lost his younger brother in the collapse, the newspaper reported.
The workers were employed at an adjacent construction site. The rescue and clearing operation was completed after nearly nine hours, Mr Gaekwad added.
Separately, three people were electrocuted in Mumbai, India’s financial and entertainment capital, as delayed monsoon rains hit Maharashtra state on Friday, the Times of India newspaper reported.
Building collapses are common in India during the June-September monsoon season, when heavy rains weaken the foundations of structures that are poorly constructed.
We know everyone is suffering under the Tories - but the Canary is a vital weapon in our fight back, and we need your support
The Canary Workers’ Co-op knows life is hard. The Tories are waging a class war against us we’re all having to fight. But like trade unions and community organising, truly independent working-class media is a vital weapon in our armoury.
The Canary doesn’t have the budget of the corporate media. In fact, our income is over 1,000 times less than the Guardian’s. What we do have is a radical agenda that disrupts power and amplifies marginalised communities. But we can only do this with our readers’ support.
So please, help us continue to spread messages of resistance and hope. Even the smallest donation would mean the world to us.