What is the ruling if a postpartum woman becomes pure before forty days; are acts of worship obligatory upon her, and is she permissible for her husband?
If the postpartum woman becomes definitely pure before forty days, she must perform the ritual bath and perform acts of worship as a pure woman does. What was prohibited for her also becomes permissible, so she becomes permissible for her husband after her bath. The minimum duration for postpartum bleeding is a moment (an instant), and its usual maximum is forty days. Reaching forty days is not a condition; rather, it is sufficient for the blood to stop or to see the white discharge (qassa bayda'). And Allah the Almighty knows best.
What is the ruling on memorizing the Quran during menstruation, knowing that I do not read directly from the Quran but from a paper or from my phone?
It is not permissible to memorize the Quran during menstruation because memorization requires repetition, and a menstruating woman cannot touch the physical pages of the Quran. Similarly, if the Quranic verses appear on the screen of the phone, it is considered like touching the Quran. And Allah Knows Best.
Is it permissible for a woman in her waiting period (Iddah) after her husband's death to leave her house and mix with non-Mahrams?
It is not permissible for a woman in her waiting period (Iddah) after the death of her husband to leave her house except for a necessity, such as for medical treatment, nor is she allowed to mix with non-Mahrams. A woman is not permitted to mix with anyone other than her husband or Mahrams, whether she is in her waiting period or not. However, there is no harm in accepting condolences from those who visit and responding to their inquiries about her well-being. And Allah Knows Best.
How should a person who is afflicted with continued major ritual impurity (incontinence of urine, bleeding outside the monthly period) perform ablution?
Such a person should make ablution for every prayer after its due time and after removing impurities from their body and outfit, and should place a fresh diaper whenever needed so as for the impurity not to spread out. They should also perform prayer immediately even if incontinence of urine continued, and should repeat the aforementioned for every obligatory prayer, then perform optional prayer as much as they want.