Using a machine that leads to orgasm
Question

I have an embarrassing question, but need to know.  If a woman uses a massager on her vagina, is this considered masturbation.  What is the ruling concerning using this if the woman is under alot of stress and sees good-looking men at work but her husband is living in another country?
Praise be to Allah.You have to keep away from everything that leads to a provocation of desire, for these means will no doubt ultimately lead you to fall into doing the “secret habit”, which is haram. See Question # 329. What counts is doing that which leads to a climax, whether that is done directly by the hand or by using a machine whose vibrations lead to a climax. So strive against yourself (jihaad al-nafs) and do not do that. You must keep away from and avoid places where you may mix with men, because that is haram according to sharee’ah, because the Shaytaan will make you commit evil actions so long as you meet with them every day, especially since your husband is absent. See Question # 1200. You have to get in touch with your husband and tell him that he has to be there so that you will not end up doing something haram. 
And Allah knows best.