Ahuja was produced before the Andheri metropolitan magistrate court as his judicial custody got over today.
The actor had filed a bail application before the sessions court last week which will come up for hearing on Friday.
On June 18, Ahuja was remanded to judicial custody till today by a local Mumbai court.
The DNA test report of Ahuja confirmed that he sexually assaulted the victim. Earlier, medical reports had confirmed that Ahuja's maid was indeed raped.
The actor has been charged under the Indian Penal Code (IPC) Section 376 with rape, along with wrongful restraint and intimidation.
The police arrested Ahuja on June 15 after preliminary medical tests on the girl confirmed sexual assault.
Mumbai police said the actor had admitted to making a mistake by having consensual sex with the maid who has levelled allegations of rape against him.