
Judge Tasnim Abu Bakar ordered the man, aged 41, to serve the sentence from the date of his arrest on Oct 26.
He was also ordered to undergo counselling while serving his sentence and to be placed under police supervision for two years after his release.
The man was charged with sexually assaulting the girl at their residence in Sentul at 10.45pm on Oct 1.
The charge was framed under Section 14(a) of the Sexual Offences Against Children Act 2017, which provides imprisonment for up to 20 years and whipping if convicted.
Earlier, deputy public prosecutor Siti Pervinah Yusof asked for an appropriate sentence, taking into account the trauma suffered by the victim.
The accused was unrepresented.