What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.
Does touching one's wife invalidate ablution?
Touching the wife according to the Shafi'ee's doctrine invalidate husband's ablution. And Allah Knows Best.
What is the best remedy for a person who experiences Waswasah (whispers of the devil) during Salah (prayer)?
Such a person should ignore the devil`s whispers, contemplate the Quranic chapters and verses that he/she recites, look directly at the place of Sujood (prostration), make supplication to Allah, and take refuge in Him from the cursed devil.
Is it permissible to delay menses by using medication in order to fast Ramadhaan?
It is permissible for a woman to use medication in order to delay her menses so that it becomes eligible for fasting Ramadhaan, but it is better that she doesn`t do so, and taking the medication is prohibited if she, or her doctors knew that it involves risk on her health. And Allah Knows Best.