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 the `Iddah (waiting period) of the divorced effective from the time the divorce took place, or from the time of registering it at the court?
It is considered effective from the very moment her divorce took place, but not from the time of registering it at the court. And Allah Knows Best.
What is the ruling on reciting verses of the Holy Quran on water, then drinking it?
It is permissible to recite Quran on water, then drink it as a kind of treatment since the Quran heals. Allah, The Almighty, Says (What means): "We send down (stage by stage) in the Qur’an that which is a healing and a mercy to those who believe: to the unjust it causes nothing but loss after loss." [Al-Isra`/82].
When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.