Does an internal medical examination for a woman affect her fast?
An internal medical examination for a woman invalidates the fast because it involves the entry of a foreign object into the body cavity (jauf) while fasting.
In this case, the woman must refrain from eating and drinking for the rest of the day out of respect for Ramadan and make up for the missed fast after Ramadan.
Such an examination should be avoided in Ramadan and other months unless absolutely necessary, as exposing the private parts is only permissible in cases of necessity.
If necessary, a woman should seek a Muslim female doctor first. If one is unavailable, she may see a female doctor from the People of the Book (Jews and Christians). If neither is available, she may consult a trustworthy and competent Muslim male doctor.
What is the ruling on someone who eats or drinks thinking that the sun has set, then realizes that it has not yet set?
Whoever eats or drinks believing that the sun has set, then later discovers that it has not yet set, their fast is invalid, and they must make up that day after Ramadan. It is not permissible to break the fast before confirming sunset—either by seeing it, through personal reasoning, or by relying on the statement of someone trustworthy in their religious commitment.
What should one do if they see someone deliberately eating or drinking openly during Ramadan?
They must enjoin what is right and forbid what is wrong. If they fear harm from that person, they should disapprove of it in their heart but avoid sitting with them if possible. It is also preferable to seek the help of the authorities to prevent them from doing so.
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.