In our region in southern Oman, specifically in the city of Taqah, there is a mosque that they say was built hundreds of years ago. This mosque is surrounded by graves, meaning it is in the middle and the graves are around it. People in our area differ, with some considering it permissible and others considering it forbidden to pray there. Moreover, my grandmother saw in a dream that she entered this mosque..."
Praying in this mosque is valid and and there is reprehensibility in its location so long as no grave exist within it. Besides, Sharia rulings aren't derived out of dreams. And Allah Knows Best.
Is the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.
Is it permissible for a woman to visit the doctor while in her `Iddah (waiting period)?
It is permissible for her to do that during day time, but it is impermissible for her to leave her house at night except for a sound reason. And Allah Knows Best.
What is the ruling on one who performs ablution or the ritual bath while having nail polish?
Nail polish must be removed before ablution or ritual bath so that water reaches what is beneath it, because it is a barrier that prevents water from reaching that area. This is based on the hadith narrated by Ali (may Allah be pleased with him) from the Prophet (peace be upon him): "Whoever leaves a hair's breadth of his body unwashed from major impurity, such and such will be done to him in the Fire." (Reported by al-Bukhari). And Allah the Almighty knows best.