What is the ruling on wiping the head during ablution from behind a barrier like a headscarf (hijab)?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. As for one who has a turban or headscarf on their head, it is permissible for them to wipe over it after wiping a part of their head in any place. This is easily done at the front of the head. This means the woman begins by wiping the front of her head from under the headscarf, then completes the wiping to the back of the head from over the headscarf. If the woman wipes over the headscarf on her head and the moisture reaches the scalp or some hair within the boundaries of the head, it suffices for wiping the head. And Allah the Almighty knows best.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.
What is the ruling on someone who intends to travel to Jeddah for two days — must he enter iḥrām from his place of residence [i.e., before passing the mīqāt]?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Whoever is firmly resolved in his intention to perform ‘Umrah before setting out on his journey, it is unlawful for him to pass beyond his country's mīqāt (the designated boundary point for entering the state of iḥrām) without entering iḥrām. If he does so, he must return to the mīqāt to enter iḥrām from there, provided he has not yet begun performing the rites of the pilgrimage — in which case nothing further is required of him. However, if he does not return, he must offer a sacrifice (sheep/goat), to be distributed among the poor of the Ḥaram.
It is stated in at-Tanbīh fī al-Fiqh ash-Shāfi‘ī (p. 71): "Whoever, intending to perform the rites [of ‘Umrah or Ḥajj], passes beyond the mīqāt and enters iḥrām only after it, must offer a sacrifice. However, if he returns to the mīqāt before beginning any of the rites, the sacrifice is waived from him."
Accordingly: whoever is firmly resolved in his intention to perform ‘Umrah before setting out on his journey must enter iḥrām at the mīqāt of his country through which he passes. Whoever fails to do so, passing beyond the mīqāt without entering iḥrām, and does not return, has sinned, and must repent to Allah, the Exalted; and he must offer a sacrifice, to be distributed among the poor of the Ḥaram. And Allah, the Exalted, knows best.