Is it obligatory to have the intention for each day of fasting, or is one intention sufficient for the whole month?
The intention is obligatory for each day of Ramadan because each day is an independent act of worship separate from the others.
The intention must be made at night before the break of dawn, as the Prophetﷺ said: "Whoever does not intend fasting at night, there is no fast for him." [An-Nasa’i]
And he also said: "Whoever does not firmly resolve to fast before dawn, there is no fast for him." [At-Tirmidhi, Abu Dawood, and An-Nasa’i]
Whoever wakes up and eats Suhoor while mindful of fasting has made the intention. Likewise, one who firmly intends at any moment during the night to fast the next day has also fulfilled the intention.
What is the ruling on someone who curses the religion or commits an act of disbelief during the day in Ramadan?
Whoever apostatizes (leaves Islam) while fasting, their fast is invalid. Cursing the religion is an act of apostasy (may Allah protect us from it). Such a person must return to Islam by pronouncing the Shahadah (testimony of faith), seek Allah’s forgiveness, refrain from eating and drinking for the rest of the day, and make up for that day’s fast later.
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 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.