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 do you say about someone who stays up all night on Laylat al-Qadr but misses Fajr prayer?
Such a person has deprived themselves of a great reward. Performing obligatory acts is more beloved to Allah than voluntary acts. Fajr prayer is an obligation, and performing it in congregation is equivalent to worshiping for the entire night. So how can someone neglect it while striving for voluntary prayers?!
What is the ruling on reciting the takbīr from Sūrat aḍ-Ḍuḥā to Sūrat an-Nās upon completing the recitation of the Qur'an (khatm)?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is recommended to recite the takbīr from the beginning of Sūrat aḍ-Ḍuḥā through to the end of Sūrat an-Nās, and this is the recitation practice of the people of Makkah.
It is stated in Nihāyat az-Zayn (p. 65): "It is sunnah to begin each sūrah with the basmalah, since it constitutes a verse of it. It is also sunnah to say, before each sūrah — from aḍ-Ḍuḥā to the end of the Qur'an — 'Lā ilāha illallāh, wallāhu akbar' (There is no god but Allah, and Allah is the Greatest), based on what has been narrated regarding Imam ash-Shāfi‘ī (raḍiyallāhu ‘anh), who heard a man reciting this takbīr in prayer, and said to him: 'You have done well, and you have hit upon the sunnah.'"
And Allah, the Exalted, knows best.
What is the ruling of Islamic Law on the prayer of zawal?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is recommended (sunnah) to pray four rakʿāt — either with a single tasleem or as two separate sets of two rakʿāt — immediately following the sun's decline from its zenith (zawāl). This prayer is distinct from the regular Sunnah prayer of Ẓuhr (sunnat al-ẓuhr al-rātibah), as explicitly stated by the Shāfiʿī jurists.
It is mentioned in Nihāyat al-Muḥtāj: "The prayer of zawāl is offered after the sun's decline — so were one to perform it before that, it would not count. It consists of two or four rakʿāt and is distinct from the Sunnah of Ẓuhr, as is evident from the fact that it is mentioned separately after the regular Sunnah prayers, and it becomes a make-up prayer (qaḍāʾ) if a long period of time passes by customary reckoning... Al-ʿAlqamī stated: 'Scholars refer to this as the Sunnah of Zawāl, and it is distinct from the four rakʿāt that constitute the Sunnah of Ẓuhr.' Our shaykh said: Al-Ḥāfiẓ al-ʿIrāqī stated that among those who explicitly affirmed its recommendation was al-Ghazālī in al-Iḥyāʾ, in the chapter on devotional litanies, noting that there is no tasleem between them — meaning there is no break between each pair of rakʿāt."
The time of the sun's decline (zawāl) marks the very beginning of the time for the Ẓuhr prayer.
And Allah the Almighty knows best.