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 should I deal with the whispers of the devil with regard to ablution and purity?
Whispers in ablution are from the devil, and so you should take refuge in Allah from the devil`s evil suggestions that aim to distort the religion. Thus, once an organ is completely pure, don`t question its purity since having whispers doesn`t mean that the purity is invalid as it has already been established.
Is it permissible to offer Tahajjud prayer after Witr prayer?
It is permissible to offer voluntary prayer after Witr (An odd number prayer performed between Isha and Fajr) prayer. However, it is desirable that the night prayer be ended with Witr. Therefore, it is desirable for one, who thought that he was most probably going to wake up at night in order to offer Tahajjud, to offer Witr after it, but one, who fears that he might not wake up, should offer Witr before going to bed.
Is it permissible to single out Fridays, Saturdays, and Sundays to make up for missed fasting without fasting a day before ,or after each ?
Yes, it is permissible to make up for missed fasting during the aforesaid days, and it is also valid to offer non-obligatory and vowed fasting as well. However, fasting a day before or after each isn`t obligatory. And Allah Knows Best.