Is it permissible for someone who cannot study except by watching裸(nude) pictures or films of fornication, whether real or animated, to do so in order to achieve success in an exam, taking into account the principle of lesser harm, especially if he is unmarried and cannot marry until after succeeding?
It is forbidden to look at pornographic pictures, films, and websites. The one who commits this act deserves severe punishment. It is not permissible to engage in such acts even with a good intention, because the end does not justify the forbidden means. A Muslim must strive diligently in their studies and stay away from sins, because sins may deprive them of sustenance. If boredom strikes, one should perform ablution, pray, supplicate, and seek Allah's help.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/119449