Haziq Abdullah Abdul Aziz was taken to the Dang Wangi District Police Headquarters after undergoing medical examination at the Kuala Lumpur Hospital.
His lawyers were also sighted at the Dang Wangi station.
He was released on police bail at about 5.45pm.
Haziq was spotted leaving the district police headquarters in the back seat of a sedan car.
It is understood that lawyer Sivahnanthan Ragava was in the car with him.
Speaking to the media shortly after Haziq was released from custody, his lawyer Ramesh Sivakumar said his client has no travel restrictions.
“The investigating officer informed me that Haziq will not be remanded as we had feared but is being released on police bail instead.
“He can go anywhere without restrictions but if they need him to come back then he will return to cooperate,” he said.