What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
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 women to attend Tarawih prayer in the mosque?
Yes, it is permissible for women to attend Tarawih prayer in the mosque, provided they observe modesty, proper covering, and avoid mixing with men.
The Prophet ﷺ said: "Do not prevent the female servants of Allah from the mosques of Allah." [Bukhari and Muslim]
What is the ruling on performing the standing (qiyām) and bowing (rukū‘) portions of the prayer normally, while performing the prostration (sujūd) seated due to knee pain?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
If performing sujūd (prostration) in prayer causes the worshipper pain in the knees, then it is permissible for him to perform it through gesture (īmā') while seated, since Allah, Glorified and Exalted is He, has lifted hardship from His servants. On the authority of ‘Imrān ibn Ḥuṣayn (raḍiyallāhu ‘anh), he said: "I suffered from hemorrhoids, so I asked the Prophet ﷺ about [how to perform] the prayer, and he said: 'Pray standing; if you are unable, then sitting; and if you are unable, then on your side.'" [Ṣaḥīḥ al-Bukhārī]
If the valid excuse later subsides, the worshipper is then obligated to perform the prayer with all its pillars and conditions fully observed — including standing, rukū‘ (bowing), and sujūd (prostration). And Allah, the Exalted, knows best.