What is the ruling on the intention of fasting, where is its place, and when is its time?
The intention is a pillar of acts of worship; it is essential, and worship is not valid without it.
Its place is in the heart, and verbalizing it is recommended so that the tongue reminds the heart. Its meaning is to be determined to abstain from nullifiers of fasting during the upcoming day with the intention of worship and obedience to Allah Almighty. This meaning is naturally present in every Muslim on every night of Ramadan, so there is no need for obsessive doubts. If one says, "I intend to fast tomorrow for the sake of Allah," it removes any doubts.
Its time is from after sunset until before the true dawn.
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 the Witr prayer as a single rak`ah?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible to perform the Witr prayer as a single unit (rak‘ah). It was narrated from Ibn ‘Umar that a man asked the Messenger of Allah ﷺ about the night prayer, and the Messenger of Allah ﷺ replied: 'The night prayer is offered two by two (mathna mathna). If one of you fears the approach of dawn, let him pray a single rak‘ah to make what he has prayed odd-numbered (Witr) for him.' (Related by al-Bukhari & Muslim)). However, limiting the prayer to only one rak‘ah is considered 'contrary to the preferred way' (Khilaf al-Awla).
It is stated in Al-Minhaj al-Qawim Sharh al-Muqaddimah al-Hadramiyyah (p. 137): 'The minimum of Witr is one rak‘ah, but limiting it to that is contrary to what is best.'
The most complete form of Witr is eleven units, while the minimum level of 'perfection' is three units. It is stated in ‘Umdat al-Salik (p. 60): 'The minimum of Witr is one rak‘ah, and its maximum is eleven, performing the taslim (salutation) after every two units. The lowest level of perfection is three units with two separate taslims (meaning 2+1).' And Allah the Exalted knows best.
What is the ruling on performing the Istikhara prayer after the Witr paryer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The Istikhara prayer (Prayer for seeking guidance) is a Sunnah. It consists of two units (rak’ahs) performed outside of the obligatory prayers, after which the person supplicates with the traditionally narrated du’a. It is permissible to perform it before or after the Witr prayer, as the Istikhara prayer is recommended at all times except during the disliked times—the periods in which prayer is prohibited. This is because its specific reason (the Istikhara and supplication) occurs after the prayer itself, and any prayer with a subsequent reason is not permitted during the prohibited times. It should be noted that the two rak’ahs of Istikhara are not fulfilled by performing only one rak’ah, nor by a prostration of recitation (Sajdat al-Tilawah), nor by a funeral prayer (Janazah). And Allah the Exalted knows best.