Welcome to BYC They can live together, but if the duck turns out to be a drake, it would be better to keep him away from your hens, as he's likely to try and romance and injure them, if you know what I mean.
Here's some more info on housing different poultry types together...