The parents of the child were not at home and returned only after they were informed about her death yesterday, police officials said.
Investigating officer Manohar Singh said according to the preliminary probe, the child's parents had a fight on Thursday after which her mother left the house for her parents' home.
Soon, the child's father also left the house, leaving her alone in the locked residence, Mr Singh said.
An anganwadi worker yesterday informed the police about stench emanating from the house. The police reached the spot and recovered the body of the child from the house, he said.
The body has been handed over to the parents after post mortem, Mr Singh said, adding probe is on and the exact reason of the child's death could be ascertained once the autopsy report comes.