What is the ruling on one who wiped over his leather socks (*khuff*) while resident and then traveled, or wiped while traveling and then became resident? And likewise, what is the ruling on one who incurred a minor ritual impurity (*ḥadath aṣghar*) while resident, then traveled and wiped while traveling?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever wipes over his leather socks (khuffayn) while resident and then travels, or wipes while traveling and then becomes resident, before a day and a night have passed in both cases, completes the wiping period of a resident. If he wipes while resident and then travels after a day and a night have passed, he must remove the socks, because the period has ended. Likewise, if he wipes while traveling and then becomes resident after a day and a night have passed, he must remove them as well.
Whoever breaks his wuḍūʾ while resident and then wipes while traveling takes the ruling of a traveler as regards the duration of wiping, so long as he does not become resident. It is stated in ʿUmdat al-Sālik wa ʿUddat al-Nāsik (Vol.1/p.15): “If he wipes over both [socks] or one of them while resident and then travels, or wipes while traveling and then becomes resident, or doubts whether he began the wiping while traveling or while resident, he completes only the wiping period of a resident. But if he broke his wuḍūʾ while resident and wiped while traveling, he completes the period of a traveler, whether or not the full time of a prayer had passed over him while resident.” And Allah Almighty knows best.
How is night prayer offered?
Night prayer is offering voluntary prayer after Maghrib and before Fajr (Dawn). As for Tahajjud, it is offering voluntary prayer at night after waking up voluntarily, and for Allah`s sake as He Says (What means): "And pray in the small watches of the morning: (it would be) an additional prayer (or spiritual profit) for thee: soon will thy Lord raise thee to a Station of Praise and Glory!" [Al-Isra`/79]. Offering Tahajjud is better than offering voluntary prayer before going to bed.
What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
What is the ruling on eating or drinking during the second Adhan?
It is not permissible to eat or drink during the second Adhan because it announces the break of dawn and the obligation to start fasting. Allah Almighty says {what means}:"and eat and drink until you can discern the white streak of dawn against the blackness of night." [Al-Baqarah/187].
Whoever eats or drinks during this time invalidates their fast, and they must refrain from eating for the rest of the day and make up for the missed fast later.