Based on the woman's complaint, Kondhwa police arrested the rickshaw driver, Balaji Maruti Shinde, 31, and his 23-year-old friend Satish Jaypal Mane.
The alleged incident took place after the woman boarded Shinde's rickshaw from Kondhwa's NIBM Road area.
According to the police, the woman is divorced and she currently stays with her parents in Yerwada area.
On the night of the alleged crime, the woman had gone to Kondhwa to meet her former husband following a fight with her younger brother, a senior police officer said.
"After she failed to meet her husband, she took a rickshaw. In her statement, the woman claimed that Shinde called Mane and informed him that she was alone in the rickshaw. Soon, Mane reached the spot and took her to Siddharth Nagar area, where he raped her," the officer said.
Meanwhile, the family member of the woman had approached Yerwada police and registered a missing person report.
Early on Thursday, some policemen spotted her walking alone on the street. When they inquired with her, she narrated the incident to them, following which the accused were held.
The two men arrested have been sent to police custody for seven days and search is on to nab the alleged molester.