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.
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 to fast the six days of Shawwal before making up for the missed fasts of Ramadan?
● If a person missed fasts due to a valid excuse, they may fast the six days of Shawwal before making up for Ramadan fasts, because qada (makeup fasts) in this case can be delayed, while the six days of Shawwal must be observed within Shawwal.
● However, if a person missed fasts without a valid excuse, they must make up for the missed fasts immediately after Eid, before fasting the six days of Shawwal. If they fast the six days first, it is valid, but they must still make up for the missed Ramadan fasts afterward.
It is also permissible to combine the intention of qada (makeup fasts) and the six days of Shawwal in one fast. However, it is better to fast them separately, as this increases the reward and avoids scholarly disagreement regarding combining intentions.
Is "Bismillāhir-Raḥmānir-Raḥīm" a verse (āyah) of Sūrat al-Fātiḥah?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The basmalah ("Bismillāhir-Raḥmānir-Raḥīm") is, without question, a verse (āyah) of the Noble Qur'an, and according to the Shāfi‘ī school, it constitutes a verse of Sūrat al-Fātiḥah itself. Al-Fātiḥah is a pillar of the prayer, and it consists of seven verses, of which the basmalah is one. The prayer is not valid without reciting it, nor if any of the Fātiḥah's verses, letters, or shaddahs (consonant doublings) are omitted or altered.
It is stated in Bushrā al-Karīm (Vol.1/p.202), from the books of the Shāfi‘ī school: "The basmalah is a complete verse of it [i.e., of al-Fātiḥah] in practice — and it suffices, for this to be established, that there be strong probability (ẓann), especially given that this has come very close to certainty (yaqīn), due to the consensus (ijmā‘) of the Companions on its inclusion in the muṣ-ḥaf [the written text of the Qur'an] in its script, despite their extreme diligence in excluding from it anything that did not genuinely belong to it — to the point that they even [carefully regulated] its diacritical dots and vowel markings." And Allah, the Exalted, knows best.