Can a Wife Masturbate If Husband Cannot Satisfy Her Desire?
Question

I have been married for 3 years now and love my husband very much. Our problem is that my husband cannot satisfy me sexually at all, not with hand or anything else. We have tried all methods but it just doesn’t work. This has become a big issue in our marriage, and makes me wants to masturbate as i don't get satisfied at all. My question to you is: is it allowed for me to masturbate in order to satisfy myself to stay happy in my marriage if nothing else is working?
Praise be to Allah.Is masturbation haram?
The basic principle is that masturbation is haram . 
That is only permitted if a person fears that he may end up committing zina; no doubt the prohibition on zina is more emphatic, and it is more abhorrent and reprehensible. Hence it is permissible to commit the lesser of two evils so as to ward off the greater. 
Ar-Ruhaybani (may Allah have mercy on him) said: 
“If a person, man or woman, masturbates with no need to do so, that action is haram and he should be given a disciplinary punishment for it, because it is a sin. But if he does it because he fears falling into zina or homosexuality, or because he fears physical harm, then there is no punishment.” (Matalib Uli an-Nuha Sharh Ghayat al-Muntaha, 6/226) 
Al-Mirdawi (may Allah have mercy on him) said:  
“We learn two things from this: 

That masturbation is not permissible except in cases of necessity
The ruling for women on that matter is the same as the ruling for men, if a woman fears falling into zina.

This is the correct view, as stated in al-Furu‘.” (Al-Insaf, 10/252)
Wife’s sexual rights in Islam
What the husband must do is give his wife her rights to kind treatment. One of the most important matters to which he must pay attention in that regard is keeping her chaste so that she will not look at other men, and giving her her rights in matters of intimacy as much as possible, even if that means using aphrodisiacs and paying attention to nutrition. 
If the husband reaches climax quickly, before his wife is satisfied, then he has to try hard to stimulate her first, even if that is with his hand or body , and not start to have intercourse until she is ready for that, and then she can reach climax through intercourse. 
Can wife masturbate in Islam?
If the question is about masturbation with the hand , what difference is there between the husband’s hand or her own hand? Why can’t he do that for her, and why should she do that herself? 
What we think is that the husband should do that , and it is better if it is before he has intercourse with her, then if she needs anything else, he can stimulate her again after having intercourse, so that her needs will be met. 
There is nothing wrong with him consulting a specialist doctor, if he is suffering from any kind of problem. 
And Allah knows best.