Is it permissible for a woman in her waiting period (Iddah) after her husband's death to leave her house and mix with non-Mahrams?
It is not permissible for a woman in her waiting period (Iddah) after the death of her husband to leave her house except for a necessity, such as for medical treatment, nor is she allowed to mix with non-Mahrams. A woman is not permitted to mix with anyone other than her husband or Mahrams, whether she is in her waiting period or not. However, there is no harm in accepting condolences from those who visit and responding to their inquiries about her well-being. And Allah 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.
I`m a university student. While I was sitting for an exam, the professor caught my fellow student cheating. I heard him telling her to hide the dossier. After the exam, he asked me to testify that I saw her cheating although I heard him telling her to hide the dossier but didn`t see her cheating. What is the ruling of Sharia on this?
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 was narrated that the Prophet (PBUH) said to a man: "Do you see the sun?" He replied: "Yes." He said: "Give witness in a similar case [which is as clear as the sun], or leave it." [Reported by Al-Baihaqhi in "Sho`ab Al-Eman" pp.10964]. Therefore, it is not permissible to testify about something that you haven`t actually seen. And Allah The Almighty Knows Best.
Is prayer mandatory on a dying person who goes through a state of unconsciousness, then wakes up?
If he wakes up and was conscious, then he should pray the way/manner he could, but if he wasn't, then he is exempted from obligatory prayer as Allah Says in this regard (What means): "On no soul doth God Place a burden greater than it can bear." [Al-Baqarah/286].