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 a condition for the mosque where I‘tikaf is performed to hold Jumu‘ah prayers?
No, it is not a condition for the mosque where I‘tikaf is performed to have Jumu‘ah prayers. However, if a person vows to perform continuous I‘tikaf, and Jumu‘ah occurs within that period, then they must observe I‘tikaf in a mosque where Jumu‘ah is held so that they do not break their continuity by leaving for Friday prayer.
What is the correct point at which to raise the hands when standing up for the third rak‘ah (after the middle tashahhud)?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Raising the hands while saying the takbīr [when rising for the third rak‘ah] is a recommended sunnah, and omitting it does not affect the validity of the prayer. The proper time for this is after rising from the middle tashahhud, once one has fully stood up.
It is stated in I‘ānat aṭ-Ṭālibīn (Vol.1/P.158): "His statement, 'and rising from the first tashahhud' — meaning, this manner [of raising the hands] is also a sunnah when he rises from the first tashahhud, that is, when he stands upright from it.
Consider [the question]: when precisely does the raising of the hands begin? Is it at the very start of rising from the first tashahhud, or after he has reached the minimum position of rukū‘ [i.e., once fully upright]? The apparent, [correct] view is the latter — even though the outward wording [of the text] might suggest the former — because at the very start of his rising, he is still relying on both hands [to push himself up, and therefore cannot yet raise them]."
It is stated in ‘Umdat as-Sālik (p. 53): "If his prayer extends beyond two rak‘ahs, he sits after them in the iftirāsh position, recites the tashahhud, and sends blessings upon the Prophet ﷺ alone, without [mentioning] his family [at this point]. He then stands while saying the takbīr, supporting himself with his hands; and once he has stood upright, he raises them level with his shoulders." 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.