A slave captured by Islamic State was sold to a Melbourne family living in Syria for sex and housework, a court has been told.

A Yazidi woman alleges she was enslaved in Syria by a woman and repeatedly raped and beaten by the woman’s father, according to police.

Allegations made in Melbourne magistrates court on Thursday as Zeinab Ahmad, 31, applied for bail, a month after she was charged with slavery offences