A PAIR of would-be thieves have made an embarrassing error during a bungled robbery, leaving a crucial piece of evidence at the scene.

A man in his 50s was roused from sleep in his Condell Park home southwest of Sydney around 12.30 last night when he heard his car being broken into.

The man was brutally bashed after confronting two men outside his home before they fled the scene, police say.

The two men tried to make away in a getaway car before crashing into a tree only metres down the road.

One of the pair was arrested and is in custody at Bankstown Police Station, police said, while the other remains on the run.

According to Nine’s Today, the pair left behind a number of items at the scene including a mobile phone and a camera, complete with selfies.

The victim’s son, Josh El Mohamad, expressed disgust at the attack on his father.

‘They were in car searching, taking some stuff,’ he told Channel Nine’s Today.

‘They’re scums. Just scums.’

Police are still searching for the second man and are urging anyone with information to contact Crime Stoppers on 1800 333 000.