The man pleaded not guilty before Sessions Court Judge Azreena Aziz to raping the 26-year-old woman at 11.30pm on Feb 27, 2016 at a quarters in Penampang, near here.
He allegedly committed the offence under Section 376(3) of the Penal Code which provides for a jail term of between 10 years and 30 years, and whipping, on conviction.
Azreena released the man on a bail of RM10,000 in two local sureties and set March 13-15 this year to hear the case.
About eight witnesses will be called during the hearing.
Earlier, counsel Luke Ressa Balang who defended the man asked for the previous bail amount which was RM5,000 to be maintained as his client had been previously given a DNAA.
Balang also submitted that the complainant in the case had withdrawn the police report against the man.
Deputy Public Prosecutor Hafizah Zahidah Abdullah informed the court that the man was given the DNAA previously because the chemist's report was not available at that time but now it is ready.
She also said the case then was referred to the prosecution headquarters and instruction had come to proceed with the case.
Hafizah also objected to bail on the grounds that he might tamper with the prosecution witnesses.
In the same court, three illegal immigrants, one of them a young offender, were jailed five months each for entering the State without valid documents.
The two men were also given a stroke of the cane each except the young offender.
After serving the jail sentence, the foreigners were ordered referred to the Immigration Department.