asalam-o-alikum,,,
A female can ask for divorce, if she gose to her local scholar at the masjid, if her case is warented, they can inform the sirah countcle, for permision, i say this because you say her husband is messing about, but first they will try to fix the problems between you...