What should a worshiper who has forgotten a pillar of prayer do?
If he/she remembered the forgotten pillar before offering it in the following Rakah (unit of prayer), then he/she should offer it, and continue the prayer, then offer Sujood As-Sahw (Prostration of forgetfulness) at the end of it. But, if he/she remembered that forgotten pillar after having offered it in the following Rakah, then he/she should offer a new Rakah in its (the one in which he forgot a pillar) place, and offer Sujood As-Sahw.
What is the ruling on looking at pictures of naked women via the internet?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
It is impermissible to look at pictures of naked women via the internet, and this act is forbidden according to Sharia. The proof of this is that Almighty Allah Says (What means): "Say to the believing men that they should lower their gaze and guard their modesty: that will make for greater purity for them: And God is well acquainted with all that they do." [An-Nur/30]. Therefore, we advise you to busy yourself with offering acts of obedience that draw you closer to Allah and prepare yourself for meeting Him on The Day of Judgment. And Allah The Almighty Knows Best.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
Is it permissible for the man to go out wearing shorts?
All Perfect Praise is due to Allah, The Lord of The Worlds
It is permissible so long as his Awrah (private part), which is between his navel and knee, is covered. However, the regular wear traditions and modesty are to be observed. And Allah Knows Best