What is the ruling on performing voluntary (nafl) prayer during the time of istiwā' (the sun's zenith) on the day of Jumu‘ah (Friday), and is this ruling specific to someone who has come to the mosque to perform the Jumu‘ah prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is permissible to perform voluntary (nafl) prayer during the time of istiwā' (the sun's zenith, i.e., its highest point before noon) on the day of Jumu‘ah (Friday) — whether for someone who is attending the Friday prayer or someone who is not, and whether they are among the people obligated to attend it or not.
It is stated in Mughnī al-Muḥtāj (Vol.1/P.310): "The more correct position (al-aṣaḥḥ) is that prayer is permissible during this time without restriction — regardless of whether the person will be attending the Jumu‘ah prayer or not." And Allah, the Exalted, 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.
Is it permissible for a pious Muslim woman to stay with her husband who had quit praying out of laziness?
Quitting prayer is one of the major grave sins that come after disbelieving in Allah, but the wife of such a person isn`t considered divorced, rather, she should exert all her efforts in order to bring him back to the way of Islam. However, if his sin is likely to lure her from the way of Islam, then she had better separate from him by lawful means such as Mokhal`aa (When a wife pays a compensation for her husband in return for divorcing her). Moreover, if she exercises patience, and remains steadfast on her faith, then there is no harm in doing that.
What is the ruling on swallowing saliva while fasting?
It is permissible for a fasting person to swallow their saliva because avoiding it would cause undue hardship and excessive strictness in religion. Islam discourages such excessiveness since Allah the Almighty intends ease for His followers and does not intend to put them in hardship.