At the Guardian, John Mullan named ten of the best highwaymen in literature.
One entry on the list:
Moll Flanders by Daniel Defoe
Moll has separated from dodgy but charming Jemy, her "Gentleman" husband, but sees him again in the company of two other men. That night there is "a hue-and-cry after three highwaymen that had robbed two coaches and some other travellers near Dunstable Hill".