If her husband gave her the sheep as a donation for the puprose of fulfilling the oath she made and was slaughtered by the wife or the husband on her behalf then the vow she made is fulfilled. And Allah Knows Best.