I am currently on a sleeping medication, prescribed by my doctor, to aid my insomnia. The problem is that when I take it straight after isha to sleep it is impossible to wake for fajr, as the effects of the medication are very strong.
While I am aware that one doesn't have to fast, for example, if one is on medication, I am also aware of the importance of prayer and do not want to miss fajr in this way.
Is there any particular ruling or advice which can be given on an issue such as this? For example, might it be more prudent to sleep before isha and miss that one instead of fajr, is either more important? Should I simply stop taking the medication, despite the enormously negative impact this would have on my life, and be against my doctor's recommendation?
Thank you!