A man claiming to be an Uber driver allegedly raped a woman who got into his car after a night out with friends in Sydney's east.

Police allege the English tourist, 22, was walking along Bayswater Road in Kings Cross about 12.30am on Sunday when Muhammad Naveed, 39, stopped his car beside her.

The woman, who had been in Australia for just three weeks, accepted Mr Naveed's offer to drive her home after a night out with friends at World Bar, police said.

However, he allegedly drove to a nearby side street where he parked and sexually assaulted her.

According to police, Mr Naveed was captured on CCTV before the alleged assault buying water and condoms at an Edgecliff service station.