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.
Photos: Abhishek Bachchan and Farah Khan at Boman Irani's birthday bash
Spotted: Shah Rukh Khan at Morani's bungalow in Mumbai
Spotted: Sonam Kapoor and sister Rhea at Mumbai airport
Photos: Ranveer Singh, Vaani Kapoor get 'Befikre' on 'Super Dancer'
In pictures: 12 child artistes who turned into beautiful divas