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.
What should someone do if they fasted for 30 days in their country, then traveled to a place where people are still fasting?
If a person completes 30 days of fasting in their country and then travels to another country where people are still fasting, they should continue fasting with them until they observe Eid. Even if they have already completed 30 days, he/she should abstain from eating and drinking and join the people of that country because he/she has now become part of that community.
What is the ruling on one who performs ablution or the ritual bath while having nail polish?
Nail polish must be removed before ablution or ritual bath so that water reaches what is beneath it, because it is a barrier that prevents water from reaching that area. This is based on the hadith narrated by Ali (may Allah be pleased with him) from the Prophet (peace be upon him): "Whoever leaves a hair's breadth of his body unwashed from major impurity, such and such will be done to him in the Fire." (Reported by al-Bukhari). And Allah the Almighty knows best.
What is the ruling of Islamic Law on a latecomer who joins the imam during the standing position of the first rakʿah but was unable to complete the recitation of al-Fātiḥah?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a latecomer (masbuq) joins the prayer while the imam is standing, he should begin reciting Sūrat al-Fātiḥah immediately, without pausing to recite the opening supplication (duʿāʾ al-istiftāḥ) or the seeking of refuge (taʿawwudh). If the imam bows before he completes al-Fātiḥah, he follows the imam into the bow and leaves whatever remains of al-Fātiḥah — the imam bears it on his behalf.
It is stated in ʿUmdat al-Sālik (p. 47): "If a latecomer finds the imam standing and is confident that he has enough time to recite the taʿawwudh and al-Fātiḥah in full, he may do so. If he is uncertain, he should neither recite the opening supplication nor the taʿawwudh, but rather begin directly with al-Fātiḥah. If the imam bows before he completes it, he follows him into the bow — provided he had not already begun the opening supplication or the taʿawwudh. If he had begun either of them, he continues reciting al-Fātiḥah for as long as he spent on them." And Allah the Almighty knows best.