A handout picture released by El 19 Digital shows rescuers and others trying to recover the bodies of people who died in a landslide in the neighbourhood "May 18" in Managua, on October 16, 2014

Days of torrential rains in Nicaragua left 22 people dead and left homeless more than 32,000 others, according to an official report Saturday.

Nine of the victims died when a retaining wall collapsed and flattened four shacks near the capital Managua, government spokeswoman Rosario Murillo said.

The report said 4,544 homes were damaged or destroyed by floods or were evacuated due to flood risk.

The rains impacted 17 departments in the country and 5,630 people are in temporary shelters and receiving , Murillo said.