What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
What is the ruling on seeking forgiveness between the two Friday sermons?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible to seek forgiveness (Istighfar) between the two Friday sermons (Khutbatayn), and it does not invalidate the Friday prayer (Salat al-Jumu'ah). Furthermore, it is not disliked (Makruh) to speak before the sermon, after it, or between the two sermons. Likewise, it is not disliked for one who enters during the sermon to speak if there is a need for it, provided he has not yet taken a place and settled into it. And Allah the Exalted knows best.
Where should a woman following her husband or another man in prayer stand?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a single woman prays with a man—whether she is his wife or a non-mahram (Ajnabiyyah)—the Sunnah is for her to stand behind the Imam and be shielded by him. If the Imam is leading both a man and a woman, the man should stand to the Imam's right, and the woman should stand behind the male follower (Muqtadi). In this way, she is shielded from the Imam by the male follower and remains at a distance from the follower and his line of sight. And Allah the Exalted knows best.