Once you accept the quest from the slavers' boss, you can go to a nearby camp where three fugitive slaves are. Press Tab to select that item in the same way you use ranged magic. Target one of the slaves and hold down the Q button until the slave is sucked into the jar.
Return to the boss to finish the quest.
Later you can catch slaves repeatedly and sell them to a slave trader for 100 gold each.