Accused Pankaj had come to the victim's house at Vijay Vihar area in west Delhi in the afternoon to meet his father.
Finding the boy alone, he sexually assaulted him, police said.
After the incident, a neighbour heard the boy crying and informed his father.
The accused was arrested after medical examination confirmed sexual assault, police said.
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