What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.
Is it permissible to delay the ritual purification (ghusl) from major impurity (janabah) until after dawn?
Yes, it is permissible to delay ghusl from janabah until after dawn, as purity from janabah is not a condition for the validity of fasting. However, one must perform ghusl in time to pray Fajr within its designated time.
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 slaughter a single sheep with the combined intention of both the uḍḥiyyah and the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
According to Shaykh al-Islām Imam Ibn Ḥajar al-Haytamī, it is not permissible to combine the intention of the uḍḥiyyah and the 'aqīqah in a single animal, as each of the two has a distinct and separate cause that differs from the other.
However, Shaykh al-Islām Imam al-Ramlī permitted the combining of both intentions in a single animal — and this position offers a degree of latitude and ease. And Allah Almighty knows best.