What is the ruling on having an intention (Niyyah) for every prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Intention (Niyyah) is a pillar (Rukn) without which the prayer is not valid. The worshiper must have an intention for every prayer, meaning they must consciously intend the act of worship they are performing. Its timing must coincide with the opening Takbir (Takbirat al-Ihram). It is not a requirement to utter it verbally; rather, doing so is considered a recommended Sunnah. There are three levels of intention:
1-If the prayer is obligatory (Fard): It is mandatory to include the Intent (to pray), the Specification (which prayer, e.g., 'Asr), and the Obligation (recognizing it as a Fard). For example, one should bring to mind or say: 'I intend to pray the Fard of 'Asr.'
2-If it is a voluntary prayer restricted by a specific time or cause (Sunnah Muqayyadah): It is mandatory to include the Intent and the Specification. For example: 'I intend to pray the Sunnah before Zuhr' or 'I intend to pray Duha.'
3-If it is an absolute voluntary prayer (Nafl Mutlaq): It is sufficient to simply have the Intent to pray. For example: 'I intend to pray.'
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.
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 if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.