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.
How to perform the witr prayer in terms of connection (wasl) and separation (fasl)?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The Witr prayer has several forms that vary in terms of virtue:
The First Form: Separating every two units (rak‘ah) with a Tashahhud and a Taslim (salutation). This is superior to connecting the units, even if it is only a single rak‘ah. This is based on the Hadith of ‘Aishah (may Allah be pleased with her): 'The Messenger of Allah ﷺ used to pray eleven units between the end of the ‘Isha prayer and dawn, performing the Taslim after every two units and performing Witr with a single unit.' (Related by al-Bukhari & Muslim).
The Second Form: Connecting the units with only one final Tashahhud at the very end.
The Third Form: Connecting with two Tashahhuds—meaning reciting the Tashahhud before the final unit without performing the Taslim, then standing to complete the final unit. This form is considered the lowest in rank so that the Witr prayer remains distinct from the obligatory Maghrib prayer, as stated in the Hadith: 'Do not make the Witr resemble the Maghrib prayer.' (Narrated by Al-Daraqutni, who stated its narrators are trustworthy).
It is stated in Bushra al-Karim Sharh al-Muqaddimah al-Hadramiyyah: 'It is permissible to connect [the Witr] with one Tashahhud in the final unit—which is better—or with two Tashahhuds in the last two units, as both methods are established in Sahih Muslim from the actions of the Prophet ﷺ. In the connected method, more than two Tashahhuds are prohibited. Furthermore, separating (al-Fasl) is better than connecting (al-Wasl) if the number of units is the same, because the Hadiths supporting it are more numerous and it involves more devotional actions.' And Allah the Exalted knows best."
What is the ruling on tasting food while fasting?
Tasting food while fasting is disliked (makruh). However, if any part of the food reaches the body cavity (jauf), the fast becomes invalid.
What is the ruling on performing istinja' after passing wind from the anus?
Ablution is invalidated by passing wind from the anus, even without a smell. Only ablution becomes obligatory from it. Istinja' is not obligatory nor recommended. And Allah the Almighty knows best.