The incident was reported from Adarsh Nagar area in north Delhi and occurred when the child was alone at home Saturday evening.
A neighbour, who chanced upon the crime, raised an alarm following which the accused fled.
The girl was taken to hospital where the assault was confirmed.
Police said accused Shiva, a labourer, was arrested from his house Sunday morning.
SRK-Gauri anniversary: B-Town stars and their non-filmi better halves
Birthday special: Popular mothers and daughters in Bollywood
Spotted: 'Kaabil' star Hrithik Roshan with dad Rakesh Roshan
'Rock On 2' trailer launch: Farhan, Shraddha enthrall audience with live gig
Photos: Deepika Padukone, Sushmita Sen with daughters at Mumbai airport