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 is the ruling on entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.
I work overtime after regular working hours and may become occupied with my phone or the work computer for personal matters — what is the ruling on this?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is obligatory upon an employee to abide by the instructions and regulations governing overtime hours, and equally obligatory to uphold honesty and avoid all forms of deception and dishonesty. Allah the Almighty says {what means}: "O you who have believed, be mindful of Allah and be with the truthful." [Al-Tawbah/ 119]
Whoever is assigned to work overtime must be present at his workplace — even if he has no specific tasks to carry out at that time. In such a case, he should strive as best he can to spend that time in a manner that benefits the institution he works for. If there is genuinely no work for him to do, there is no objection to occupying his time with something beneficial — such as reciting the Holy Qurʾān, reading, or listening to educational lessons — provided he has already completed all the responsibilities assigned to him.
If, however, he does have work to complete, he must spend that time fulfilling it. He may attend to phone calls or other personal matters to the extent that is customarily acceptable, as long as this does not result in delaying or postponing his work. If he delays his work on account of personal preoccupations, the wages he received for that wasted time are not lawfully his to keep, and he is obliged to return the equivalent amount to the institution by whatever means available to him. And Allah the Almighty knows best.
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.