A woman used contraceptive pills, and her menses exceeded (15) days, is it permissible for her to fast?
The maximum of menstrual blood is (15) days, but if it exceeded that due to a medication, or the like, then it is Istihadah (bleeding outside the monthly period), and in this case she should perform Ghusl (ritual bath), pray, and fast. Moreover, she is obliged to make up for the missed fasting days which exceeded her regular menses. And Allah Knows Best.
How are those killed in wars punished with the torment of the grave if they are not buried?
The torment of the grave refers to the suffering that the deceased experiences between the day of their death and the Day of Resurrection, which is called the Barzakh period. Similarly, it includes the blessings of the grave, whether the deceased is buried or not. And Allah The Almighty Knows Best
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
Is it permissible for a woman whose menses exceeded (15) days to pray, fast and do what was prohibited on her to do during the latter period?
If the menses exceeded 15 days then it is deemed menstruation, and in this case she is obliged to pray and fast and to do what was impermissible for her to do during the latter period. In addition, she is obliged to make an ablution for each obligatory prayer after it's due time and making sure that impuity is removed. Finally, your menstruation period is over (Questioner) simlar to your menstruation in the previos month.