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.
After I had prayed, I found a drop of menstrual blood and was unsure when that happened; what is the ruling on my prayer and fast?
All praise is due to Allah, peace and blessing be upon the Messenger of Allah.
Your prayer and fast are correct ,and you should not make up for them, and we ask Allah, The Almighty, to duely reward you for these acts of worship. Your menses start once you see blood because the situation remains as such unless there is certainty or predominant conjecture, as per the Fiqh maxim: "Certainty is not removed by doubt". And Allah 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 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.