The incident took place in Nusrat Colony near Upper Mall Road on Wednesday.
The victim's mother, Shazia Shafiq, told police that she was visiting her parents on the occasion of Eid-ul-Azha, along with her four children.
Her father had called a man, Nadim, for painting the house.
"My daughter was playing with her two brothers in another part of the house when we found the children missing and started a search in and outside the house," she said.
Also Read
"We called the neighbours and warned the accused to open the door otherwise he would be set on fire after breaking the door," she said.
When Nadim opened the door, the girl was found unconscious with blood stains on her clothes. He was handed over to the police.
Nadim confessed his crime saying that he gave Rs 10 each to the girl's brothers to get something from a shop and then lured her to a room and raped her.
The victim was taken to Services Hospital where doctors operated upon her and said her condition was 'critical'. DIG (Investigations) Zulfiqar Hamid said initial medical reports have confirmed rape.