First, we would like to stress that “energy pills” that are thought to enhance sexual performance, including Viagra, are easily available in some countries without a medical prescription. However, everybody should be aware that these pills may have major adverse effects, and their risks may increase when they are used in combination or with other drugs.
It is permissible to use any medicine or special food items to increase the energy and strength in order to perform anything that is permissible according to the Shari`ah.
However, the balance and moderation is the general rule in Islam. One should not become obsessed with this desire and should not be over occupied with it. Sex is a need and a pleasure and it should be enjoyed in halal ways and with moderation.
Also, one must keep in mind that some of these so-called ‘energy pills’ have side effects and they could be dangerous to one’s overall health and may disable a person to function properly to fulfill other duties that Allah has made obligatory.
As Muslims, we should not be obsessed by our own sexual desires, rather we should practice moderation. The best way is to be moderate in all things. The Prophet (peace and blessings be upon him) always stressed moderation in all things during eating, sleeping, work, and sexual practices.
Having said this, Islam encourages us to satisfy our sexual desires in a moderate way. If a person has a medical condition that prevents him/her from sexual fulfillment, then he or she is certainly permitted to seek medical treatment. But simply experimenting all kinds of medicine to be excessively sexual is not at all desirable in Islam; it may have dire consequences for our bodies because who knows what would be the reaction to such medication. When we upset the natural order of Allah the Almighty, we may end up suffering or paying for it.
I advise everyone to stick to moderation as it is the best course.
Using the drug that helps sexual intercourse (between husband and wife) is permitted and there is no legal Islamic prohibition provided it did not contain ingredients that may harm health or an intoxicant material.
It has become clear now that taking such “energy pills” is not categorically haram. However, people with certain medical conditions should never take Viagra (and similar drugs) because it may be life-threatening. For these people, Viagra is prohibited. In all cases, Viagra should only be taken with a prescription from and under the supervision of a trustworthy doctor who diagnoses the disease and clearly determines whether there is a real need for it.
There are many “energy pills” on the market, and one should know what they contain and what effects—good and bad—they might have. Only then can one make a decision to use them or not. But again, moderation in all things, including our sexual lives, should be the choice of a Muslim.