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
I suffer from absentmindedness and constant worries during prayer, what should I do?
You should take refuge in Allah from the whispers of the devil and life worries. You should also seek Allah`s help and offer a lot of Istigfar (seeking the forgiveness of Allah). And Allah Knows Best.
Should a woman who broke her fast because of delivery make up for missed fasting days before the next Ramadhaan, and what is the expiation due on her in case she delayed making up for them ?
She should make up for missed fasting days before the start of next Ramadan if possible, but if she didn`t while being able to, then she is obliged to make up for them along with feeding a needy person for each delayed day of the missed fasting days. However, if she wasn`t able to make up for the missed fasting days before the start of next Ramadan, she has to fast a day for every day that she missed, and no ransom is due on her. And Allah Knows Best.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.