The victim grows vegetables on a small patch of land adjoining the railway tracks at Matunga, police said.
According to the woman's statement, two of the accused, Siddhu (20) and Anup (22), were known to the couple for the past three years.
"On Friday around 11.30pm, five persons barged into our shanty when we were asleep. They dragged my husband out when Siddhu and Anup started thrashing him while the five others raped me one by one. The entire incident occurred between 11.30pm to 1.30am," police said quoting the victim's statement.
An FIR under sections 323 (voluntarily causing hurt), 506 (criminal intimidation), 376 B (gang rape), 377 (unnatural sex), 120 B (criminal conspiracy) and 34 (common intention) was registered against the accused after the couple approached police on Saturday morning.