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 valid to have Suhoor before sleeping, even if it is before midnight?
Suhoor refers to the pre-dawn meal eaten after midnight to help a Muslim endure fasting. The closer it is to Fajr, the better.
The Prophet ﷺ said: "My Ummah will remain upon goodness as long as they hasten to break the fast and delay Suhoor." [Narrated by Ahmad]
This is because delaying Suhoor makes it more effective in providing strength for worship. However, if there is a risk of Fajr entering while eating, one should refrain from Suhoor out of caution.
The Prophet ﷺ said: "Leave what makes you doubt for what does not make you doubt." [Narrated by Al-Tirmidhi]
What is the ruling on praying while wearing shoes?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
There is no sin for a Muslim to perform prayer while wearing their sandals or shoes, provided they are free from any impurities (najasa). It was narrated that Anas bin Malik (may Allah be pleased with him) was asked: 'Did the Prophet ﷺ pray in his sandals?' He replied: 'Yes.'" (Related by Al-Bukhari).
It is stated in Fath al-Bari (Vol.1/P.494) by Ibn Hajar (may Allah have mercy on him): "Regarding the phrase 'praying in his sandals,' Ibn Battal said: 'This is understood to apply as long as there is no impurity on them; furthermore, this is considered one of the legal concessions (rukhas)." And Allah the Almighty knows best.
What is the ruling of Islamic Law on someone who wakes up in a state of janābah (major ritual impurity) near the very end of the prayer's designated time, during cold weather — should he heat water in order to perform ghusl, even though the prayer's time will expire as a result, or should he perform tayammum instead?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
If the water is cold, and cannot be used due to fear of harm that is not ordinarily tolerable, or that would result in illness, then in this case it becomes obligatory to heat the water — even if heating it causes the time for Fajr to expire — and no sin is incurred in doing so, due to his valid excuse. He may not resort to tayammum (dry ablution) instead, since water remains available [and merely needs to be heated].
Imam Shihāb ad-Dīn Aḥmad ar-Ramlī (raḥimahullāh) said: "He was asked regarding a person who, if he were to use cold water, would experience harm that permits tayammum, and who has access to something with which he could heat the water — but if he heats it, the prayer's time will expire. Is it obligatory for him to heat it even if the time expires, or should he pray with tayammum within the prescribed time? He answered that it is obligatory for him to heat the water, even if the time for that particular obligatory prayer expires." [Fatāwā ar-Ramlī, Vol.1/P.98]
Imam al-Bājūrī (raḥimahullāh) said in his Ḥāshiyah on Sharḥ Ibn Qāsim (Vol.1/P.173): "And if he fears [harm] from using cold water, and is currently unable to heat it, but knows of a place where firewood is available, such that if he were to go there he would not return until after the prescribed time has expired — what appears [to be the correct position] is that it is obligatory for him to go and seek the firewood, even if the time expires as a result, as this is the position ultimately settled upon by ar-Ramlī, and as related from him by Ibn Qāsim." And Allah, the Exalted, knows best.